Annotation of embedaddon/bird/doc/Makefile, revision 1.1.1.1
1.1 misho 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: progdocs: prog.html prog.ps
16: userdocs: bird.html bird.pdf
17:
18: prog.sgml:
19: $(srcdir)/tools/progdoc $(srcdir_abs)
20:
21: %.html: %.sgml
22: ./sgml2html $<
23:
24: %.dvi: %.tex
25: latex $<
26: latex $<
27:
28: %.ps: %.dvi
29: dvips -D600 -ta4 -o $@ $<
30:
31: %.pdf: %.tex
32: pdflatex $<
33: pdflatex $<
34:
35: %.tex: %.sgml
36: ./sgml2latex --output=tex $<
37:
38: %.txt: %.sgml
39: ./sgml2txt $<
40:
41: progspell: prog.sgml
42: sed -f prog-spell.sed <prog.sgml >prog.spell
43: ispell prog.spell
44:
45: clean:
46: rm -f *.tex *.dvi *.log *.txt *.aux *.toc *.spell
47: rm -f prog.sgml
48:
49: distclean: clean
50: rm -f *.html *.ps
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>