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