Statistics
| Branch: | Revision:

iof-bird-daemon / doc / Makefile @ 1885aa8c

History | View | Annotate | Download (574 Bytes)

1
root-rel=../
2
dir-name=doc
3

    
4
ifneq ($(wildcard ../Rules),)
5
include ../Rules
6
else
7
srcdir=$(shell cd $(root-rel) ; pwd)
8
srcdir_abs=$(srcdir)
9
endif
10

    
11
# Force rebuilds
12
.PHONY: prog.sgml bird.sgml
13

    
14
docs: progdocs userdocs
15

    
16
progdocs: prog.html
17

    
18
prog.sgml:
19
	$(srcdir)/tools/progdoc $(srcdir_abs)
20

    
21
%.html: %.sgml
22
	./sgml2html $<
23

    
24
%.info: %.sgml
25
	sgml2info $<
26

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

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

    
33
%.txt: %.sgml
34
	./sgml2txt $<
35

    
36
userdocs: bird.html bird.dvi bird.txt
37

    
38
clean:
39
	rm -f *.html *.tex *.dvi *.log *.ps *.txt *.aux *.toc
40
	rm -f prog.sgml