update stuff
[bsc-thesis1415.git] / thesis2 / Makefile
index d68058a..9877cdb 100644 (file)
@@ -4,13 +4,15 @@ VERSION:=0.3
 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