Revision b1777248 doc/Makefile

View differences:

doc/Makefile
1
# Makefile for bird documentation system
1
root-rel=../
2
dir-name=doc
2 3

  
4
include ../Rules
3 5

  
4
SHELL = /bin/sh
6
progdocs:
7
	mkdir -p prog
8
	$(srcdir)/tools/progdoc $(srcdir_abs)
5 9

  
6
all: internals.html
7
#	bird.html
8

  
9
clean:
10
	rm *.html *.tex *.dvi *.log
10
userdocs:
11 11

  
12 12
%.html: %.sgml
13 13
	./sgml2html $<
14 14

  
15
dnl INFO format:
16

  
17 15
%.info: %.sgml
18 16
	sgml2info $<
19 17

  
20
dnl TXT format:
21

  
22 18
%.txt: %.sgml
23 19
	sgml2txt $<
24 20

  
25
dnl LATEX format:
26

  
27 21
%.dvi: %.sgml
28 22
	./sgml2latex $<
29 23

  
30 24
%.tex: %.sgml
31 25
	./sgml2latex --output=tex $<
32 26

  
33
internals.html: ../filter/filter.c ../proto/rip/rip.c
34
	kernel-doc -html ../filter/filter.c ../proto/rip/rip.c > internals.html
27
clean:
28
	rm *.html *.tex *.dvi *.log

Also available in: Unified diff