38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
|
|
|
|
|
|
all: copy bib thesis
|
|
|
|
dropbox:
|
|
pdflatex thesis
|
|
makeindex thesis.glo -s thesis.ist -t thesis.glg -o thesis.gls
|
|
cp thesis.pdf /home/robin/Dropbox/Robin_PhD_folder/thesis
|
|
evince thesis.pdf || acroread thesis.pdf || evince thesis.pdf
|
|
|
|
thesis:
|
|
pdflatex thesis
|
|
makeindex thesis.glo -s thesis.ist -t thesis.glg -o thesis.gls
|
|
evince thesis.pdf || acroread thesis.pdf || evince thesis.pdf
|
|
|
|
clean:
|
|
rm thesis.pdf
|
|
rm -rf thesis.aux thesis.blg thesis.glo thesis.ist thesis.lof thesis.lot \
|
|
thesis.pdf thesis.tex~ thesis.toc thesis.bbl thesis.glg thesis.gls \
|
|
thesis.loa thesis.log thesis.out thesis.tex.backup
|
|
|
|
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_Software_Examples; make copy
|
|
cd CH7_Evaluation; make copy
|
|
cd CH8_Conclusion; make copy
|
|
#cd CH8_finsh_appendixes; make copy
|
|
|