34 lines
534 B
Makefile
34 lines
534 B
Makefile
|
.SUFFIXES: .idx .ind .tex .dvi .ps .pdf $(.SUFFIXES)
|
||
|
|
||
|
TEX= headings.tex scsh-paper.tex
|
||
|
|
||
|
TEX2PAGE=tex2page
|
||
|
|
||
|
scsh-paper.dvi: $(TEX)
|
||
|
scsh-paper.pdf: $(TEX)
|
||
|
|
||
|
.dvi.ps:
|
||
|
dvips -j0 -o $@ $<
|
||
|
|
||
|
.tex.dvi:
|
||
|
latex $< && latex $<
|
||
|
rm $*.log
|
||
|
|
||
|
.tex.pdf:
|
||
|
pdflatex $< && thumbpdf $@ && pdflatex $<
|
||
|
rm $*.log
|
||
|
|
||
|
.idx.ind:
|
||
|
makeindex $<
|
||
|
|
||
|
clean:
|
||
|
-rm -f *.log *.png scsh-paper.out scsh-paper.dvi scsh-paper.ps scsh-paper.pdf thumb*.png
|
||
|
rm -rf html
|
||
|
|
||
|
INSTALL_DATA= install -c -m 644
|
||
|
|
||
|
|
||
|
html: $(TEX)
|
||
|
$(TEX2PAGE) scsh-paper && $(TEX2PAGE) scsh-paper
|
||
|
|