aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlecoanet2005-05-16 12:29:30 +0000
committerlecoanet2005-05-16 12:29:30 +0000
commitbc5a264160f1ff3e697be793c7802b2bda9bfe35 (patch)
tree8fa8110e1897bf198d748032247efaeebda9eadc
parent2992bf9f7ac51d12c2558b1f1f94c487d7da15df (diff)
downloadtkzinc-bc5a264160f1ff3e697be793c7802b2bda9bfe35.zip
tkzinc-bc5a264160f1ff3e697be793c7802b2bda9bfe35.tar.gz
tkzinc-bc5a264160f1ff3e697be793c7802b2bda9bfe35.tar.bz2
tkzinc-bc5a264160f1ff3e697be793c7802b2bda9bfe35.tar.xz
Updated the making of the documentation
-rw-r--r--Makefile.in39
1 files changed, 23 insertions, 16 deletions
diff --git a/Makefile.in b/Makefile.in
index 599481b..015a752 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -202,23 +202,30 @@ libraries:
doc:
-pdf: doc/refman.tex
+doc-clean:
(cd doc; \
- rm -f refman.aux refman.ilg refman.ind refman.out refman.tpt; \
- rm -f refman.idx refman.lof refman.log refman.lot refman.toc; \
- pdflatex refman.tex; \
- pdflatex refman.tex; \
- makeindex refman.idx; \
- pdflatex refman.tex; \
- thumbpdf refman.pdf; \
- pdflatex refman.tex;)
-
-html: doc/refman.tex
+ rm -f refman.aux refman.idx refman.ind refman.lof refman.lot; \
+ rm -f refman.log refman.out refman.toc texput.log refman.tpt; \
+ rm -f idxmake.dvi idxmake.log refman.4ct refman.4dx refman.4ix; \
+ rm -f refman.4tc refman.dvi refman.idx refman.ilg refman.ind; \
+ rm -f refman.log refman.tmp refman.xref refman.lg refman.idv)
+
+pdf: doc-clean doc/refman.tex
+ (cd doc; \
+ pdflatex refman.tex; \
+ makeindex -o refman.ind refman.idx; \
+ pdflatex refman.tex; \
+ pdflatex refman.tex)
+
+html: doc-clean doc/refman.tex
(cd doc; \
- rm -f refman.ilg refman.ind refman.out; \
- rm -f refman.idx refman.lof refman.log refman.lot refman.toc; \
- mkdir -p refman; cp -f *.png refman; \
- latex2html -split 4 -show_section_numbers -local_icons refman.tex)
+ latex refman.tex; \
+ tex '\def\filename{{refman}{idx}{4dx}{ind}}' '\input' idxmake.4ht; \
+ makeindex -o refman.ind refman.4dx; \
+ latex refman.tex; \
+ latex refman.tex; \
+ tex4ht refman.tex; \
+ t4ht refman.tex)
install: all install-binaries install-libraries install-demos install-doc
@@ -399,7 +406,7 @@ dist: dist-clean
# variable in configure.in
#========================================================================
-clean:
+clean: doc-clean
-test -z "$(BINARIES)" || rm -f $(BINARIES)
-rm -f *.$(OBJEXT) core *.core
-test -z "$(CLEANFILES)" || rm -Rf $(CLEANFILES)