update stuff
[bsc-thesis1415.git] / thesis2 / Makefile
1 SHELL:=/bin/bash
2 VERSION:=0.3
3
4 all: thesis
5
6 thesis:
7 head -50 scheme.xsd > scheme1.xsd
8 tail -n +49 scheme.xsd > scheme2.xsd
9 latex -shell-escape thesis.tex > log.txt
10 bibtex thesis.aux >> log.txt
11 latex -shell-escape thesis.tex >> log.txt
12 latex -shell-escape thesis.tex >> log.txt
13 dvipdfm thesis.dvi >> log.txt 2>&1
14 mv -v {thesis,mart_thesis_$(VERSION)}.pdf
15
16 clean:
17 rm -vf *.{aux,bbl,blg,dvi,log,out,pdf,toc,dot,ps} log.txt scheme[12].xsd
18