0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-13 22:58:42 +00:00
bird/doc/Makefile
Pavel Machek 8798c81176 Docs updates:
make prog.dvi

do not overflow in .dvi

include filter documentation in the system
2000-06-05 16:36:16 +00:00

41 lines
583 B
Makefile

root-rel=../
dir-name=doc
ifneq ($(wildcard ../Rules),)
include ../Rules
else
srcdir=$(shell cd $(root-rel) ; pwd)
srcdir_abs=$(srcdir)
endif
# Force rebuilds
.PHONY: prog.sgml bird.sgml
docs: progdocs userdocs
progdocs: prog.html prog.dvi
prog.sgml:
$(srcdir)/tools/progdoc $(srcdir_abs)
%.html: %.sgml
./sgml2html $<
%.info: %.sgml
sgml2info $<
%.dvi: %.sgml
./sgml2latex $<
%.tex: %.sgml
./sgml2latex --output=tex $<
%.txt: %.sgml
./sgml2txt $<
userdocs: bird.html bird.dvi bird.txt
clean:
rm -f *.html *.tex *.dvi *.log *.ps *.txt *.aux *.toc
rm -f prog.sgml