#! gnumake # HEAD = CDR_master_v5 # # PDF = *.pdf # EPS = *.eps # DOC = *.tex # CNT = Makefile *.bib *.bst all: setup bibliography document setup: cp -up ../standard_symbols.tex . cp -up ../halld.bib . cp -up ../chapter1/*.tex . cp -up ../chapter2/*.tex . cp -up ../chapter3/*.tex . cp -up ../chapter4/*.tex . cp -up ../chapter5/*.tex . cp -up ../chapter6/*.tex . cp -up ../chapter7/*.tex . cp -up ../chapter8/*.tex . cp -up ../chapter9/*.tex . cp -up ../chapter10/*.tex . cp -up ../chapter11/*.tex . cp -up ../appendixa/*.tex . cp -up ../appendixb/*.tex . cp -up ../appendixc/*.tex . cp -up ../appendixd/*.tex . cp -up ../appendixe/*.tex . cp -up ../appendixf/*.tex . cp -up ../appendixg/*.tex . cp -up ../appendixh/*.tex . cp -up ../chapter2/*.eps . cp -up ../chapter3/*.eps . cp -up ../chapter4/*.eps . cp -up ../chapter5/*.eps . cp -up ../chapter6/*.eps . cp -up ../chapter7/*.eps . cp -up ../chapter8/*.eps . cp -up ../chapter9/*.eps . cp -up ../chapter10/*.eps . cp -up ../chapter11/*.eps . cp -up ../appendixg/*.eps . cp -up ../appendixh/*.eps . document: latex $(HEAD) latex $(HEAD) dvipdf $(HEAD).dvi cp -up $(HEAD).pdf ../. bibliography: latex $(HEAD) bibtex $(HEAD) clean: @rm -f *.dvi *.ps *~ *.aux *.log *.lot *.lof *.toc distclean: @rm -f *.dvi *.ps *~ *.aux *.log *.lot *.lof *.toc @rm -f *.pdf @rm -f ch*.tex app*.tex @rm -f ch*.pdf app*.pdf @rm -f ch*.eps app*.eps @rm -f standard_symbols.tex @rm -f halld.bib @rm -f halld_header.tex