summaryrefslogtreecommitdiffstats
path: root/doc/Makefile
blob: 23235f9658b6fe2c52784c09edd9395e040827f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Makefile for bird documentation system


SHELL = /bin/sh

all: bird.html internals.html

clean:
	rm *.html *.tex *.dvi *.log

%.html: %.sgml
	./sgml2html $<

dnl INFO format:

%.info: %.sgml
	sgml2info $<

dnl TXT format:

%.txt: %.sgml
	sgml2txt $<

dnl LATEX format:

%.dvi: %.sgml
	./sgml2latex $<

%.tex: %.sgml
	./sgml2latex --output=tex $<

internals.html: ../filter/filter.c
	kernel-doc -html ../filter/filter.c > internals.html