30 lines
595 B
Makefile
30 lines
595 B
Makefile
|
|
|
|
|
|
all: copy bib thesis
|
|
|
|
thesis:
|
|
pdflatex thesis
|
|
makeindex thesis.glo -s thesis.ist -t thesis.glg -o thesis.gls
|
|
acroread thesis.pdf || evince thesis.pdf
|
|
|
|
clean:
|
|
#touch ${CHAPTERS}
|
|
rm thesis.pdf
|
|
rm ${CHAPTERS}
|
|
|
|
bib:
|
|
pdflatex thesis # do this first otherwise bibtex gets its knickers in a twist
|
|
bibtex thesis
|
|
copy:
|
|
echo "chapters submake"; sleep 2
|
|
cd CH1_introduction; make copy
|
|
cd CH2_FMEA; make copy
|
|
cd CH3_FMEA_criticism; make copy
|
|
cd CH4_FMMD; make copy
|
|
cd CH5_Examples; make copy
|
|
cd CH6_Evaluation; make copy
|
|
cd CH7_Conclusion; make copy
|
|
#cd CH8_finsh_appendixes; make copy
|
|
|