summaryrefslogtreecommitdiffstats
path: root/doc/Makefile
blob: fe263be5f63d9a6393cc5dbaef742528518eef57 (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
34
# Makefile for bird documentation system


SHELL = /bin/sh

all: internals.html
#	bird.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 ../proto/rip/rip.c
	kernel-doc -html ../filter/filter.c ../proto/rip/rip.c > internals.html