From 99955b54be850fad280a556ca80dc21374d2c5b7 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 9 Jun 2000 06:31:43 +0000 Subject: Proper building and installation of documentation in the Makefiles. --- doc/Makefile | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'doc/Makefile') diff --git a/doc/Makefile b/doc/Makefile index 5737afe..f88c320 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -12,8 +12,8 @@ endif .PHONY: prog.sgml bird.sgml docs: progdocs userdocs - -progdocs: prog.html prog.dvi +progdocs: prog.html prog.ps +userdocs: bird.html bird.ps prog.sgml: $(srcdir)/tools/progdoc $(srcdir_abs) @@ -21,11 +21,12 @@ prog.sgml: %.html: %.sgml ./sgml2html $< -%.info: %.sgml - sgml2info $< +%.dvi: %.tex + latex $< + latex $< -%.dvi: %.sgml - ./sgml2latex $< +%.ps: %.dvi + dvips -D600 -ta4 -o $@ $< %.tex: %.sgml ./sgml2latex --output=tex $< @@ -37,8 +38,9 @@ progspell: prog.sgml sed -f prog-spell.sed prog.spell ispell prog.spell -userdocs: bird.html bird.dvi bird.txt - clean: - rm -f *.html *.tex *.dvi *.log *.ps *.txt *.aux *.toc *.spell + rm -f *.tex *.dvi *.log *.txt *.aux *.toc *.spell rm -f prog.sgml + +distclean: clean + rm -f *.html *.ps -- cgit v1.2.3