diff options
author | Martin Mares <mj@ucw.cz> | 2000-06-09 06:31:43 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-06-09 06:31:43 +0000 |
commit | 99955b54be850fad280a556ca80dc21374d2c5b7 (patch) | |
tree | eafe6ca77dd86d456c77522be8056ba1ab967a5a /doc | |
parent | a012cbb16f3d73ca7ffafe6f7933de7369e2ee48 (diff) |
Proper building and installation of documentation in the Makefiles.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile | 20 | ||||
-rwxr-xr-x | doc/mkdocs | 8 | ||||
-rw-r--r-- | doc/printme | 2 |
3 files changed, 11 insertions, 19 deletions
diff --git a/doc/Makefile b/doc/Makefile index 5737afeb..f88c3205 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.sgml >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 diff --git a/doc/mkdocs b/doc/mkdocs deleted file mode 100755 index 15ddc74b..00000000 --- a/doc/mkdocs +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -./sgml2html bird.sgml -./sgml2latex bird.sgml -./sgml2txt bird.sgml -#> bird.txt -#for i in bird.html bird-*.html; do -# lynx -dump $i | grep -v 'file://' | grep -v '^References$' >> bird.txt -# done diff --git a/doc/printme b/doc/printme deleted file mode 100644 index cc1b9399..00000000 --- a/doc/printme +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -./mkdocs; cat bird.txt | sed s/.//g | lpr |