Added Makefile for scsh-paper
This commit is contained in:
parent
69dec7110d
commit
26ba134afa
|
@ -0,0 +1,33 @@
|
|||
.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
|
||||
|
Loading…
Reference in New Issue