aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-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)