up
[bsc-thesis1415.git] / thesis2 / Makefile
1 SHELL:=/bin/bash
2 VERSION:=1.0RC1
3 SOURCES:=1.introduction.tex 2.requirementsanddesign.tex 3.methods.tex\
4 4.discussion.tex 5.appendices.tex abstract.tex thesis.tex scheme1.xsd\
5 scheme2.xsd appoverview.dot backend.dot dagexample.dot exrss.xml\
6 graphexample.dot inccons.dot nddawg.dot nodelistexample.dot scheme.xsd
7
8 all: thesis.pdf
9
10 scheme1.xsd: scheme.xsd
11 head -50 $< > $@
12
13 scheme2.xsd: scheme.xsd
14 tail -n +49 $< > $@
15
16 %.eps: %.dot
17 dot -Teps $@ > $<
18
19 %.pdf: %.dvi
20 dvipdfm $<
21
22 %.dvi: $(SOURCES)
23 latex -shell-escape thesis.tex
24 bibtex thesis.aux
25 latex -shell-escape thesis.tex
26 latex -shell-escape thesis.tex
27
28 clean:
29 @$(RM) -v *.{aux,bbl,blg,dvi,log,out,toc,ps,pyg} scheme[12].xsd
30
31 clobber: clean
32 @$(RM) -v *.pdf