Moved makeindex into .tex targets so it can be called *after* latex
This commit is contained in:
parent
4ea2cf14bb
commit
85893429b8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue