all: thesis
thesis:
- latex thesis.tex > log.txt
+ head -50 scheme.xsd > scheme1.xsd
+ tail -n +49 scheme.xsd > scheme2.xsd
+ latex -shell-escape thesis.tex > log.txt
bibtex thesis.aux >> log.txt
latex -shell-escape thesis.tex >> log.txt
- latex thesis.tex >> log.txt
+ latex -shell-escape thesis.tex >> log.txt
dvipdfm thesis.dvi >> log.txt 2>&1
mv -v {thesis,mart_thesis_$(VERSION)}.pdf
clean:
- rm -vf *.{aux,bbl,blg,dvi,log,out,pdf,toc,dot,ps} log.txt
+ rm -vf *.{aux,bbl,blg,dvi,log,out,pdf,toc,dot,ps} log.txt scheme[12].xsd