50 lines
629 B
Makefile
50 lines
629 B
Makefile
|
|
CHAPTERS = CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
|
|
|
|
|
|
all: bib ${CHAPTERS}
|
|
pdflatex thesis
|
|
makeindex thesis.glo -s thesis.ist -t thesis.glg -o thesis.gls
|
|
acroread thesis.pdf
|
|
|
|
clean:
|
|
#touch ${CHAPTERS}
|
|
rm thesis.pdf
|
|
rm ${CHAPTERS}
|
|
|
|
bib:
|
|
bibtex thesis
|
|
|
|
|
|
CH1:
|
|
cd $@; make copy
|
|
|
|
CH2:
|
|
ln -s CH2_FMEA/ CH2
|
|
cd $@; make copy
|
|
|
|
CH3:
|
|
ln -s CH3_FMEA_criticism/ CH3
|
|
cd $@; make copy
|
|
|
|
CH4:
|
|
ln -s CH4_FMMD/ CH4
|
|
cd $@; make copy
|
|
|
|
CH5:
|
|
ln -s CH5_Examples/ CH5
|
|
cd $@; make copy
|
|
|
|
CH6:
|
|
ln -s CH6_Evaluation/ CH6
|
|
cd $@; make copy
|
|
|
|
CH7:
|
|
ln -s CH7_Conculsion/ CH7
|
|
cd $@; make copy
|
|
|
|
CH8:
|
|
ln -s CH8_finish_appendixes/ CH8
|
|
cd $@; make copy
|
|
|