From 85893429b85b2210eecff0c4e83251bb36d8f499 Mon Sep 17 00:00:00 2001 From: mainzelm Date: Fri, 25 Apr 2003 15:51:19 +0000 Subject: [PATCH] Moved makeindex into .tex targets so it can be called *after* latex --- doc/scsh-manual/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/doc/scsh-manual/Makefile b/doc/scsh-manual/Makefile index 82d44f3..30c2b14 100644 --- a/doc/scsh-manual/Makefile +++ b/doc/scsh-manual/Makefile @@ -1,28 +1,26 @@ -.SUFFIXES: .idx .ind .tex .dvi .ps .pdf $(.SUFFIXES) +.SUFFIXES: .tex .dvi .ps .pdf $(.SUFFIXES) TEX= front.tex intro.tex procnotation.tex syscalls.tex network.tex \ strings.tex awk.tex miscprocs.tex running.tex TEX2PAGE=tex2page -man.dvi: $(TEX) man.ind -man.ind: man.idx -man.pdf: $(TEX) man.ind +man.dvi: $(TEX) +man.pdf: $(TEX) .dvi.ps: dvips -j0 -o $@ $< .tex.dvi: latex $< && latex $< + makeindex $(<:.tex=.idx) rm $*.log .tex.pdf: pdflatex $< && thumbpdf $@ && pdflatex $< + makeindex $(<:.tex=.idx) rm $*.log -.idx.ind: - makeindex $< - clean: -rm -f *.log *.png man.out man.dvi man.ps man.pdf thumb*.png rm -rf html