all:
	@platex CLDAQ
	@bibtex CLDAQ
	@platex CLDAQ
	@platex CLDAQ
	@pdvips -o CLDAQ.ps -t a4 CLDAQ.dvi
	@ps2pdf -sPAPERSIZE=a4 -sOutputFile=CLDAQ.pdf CLDAQ.ps

clean:
	@for f in `ls --ignore='*.tex' --ignore='*.pdf' --ignore='*.ps' --ignore='GNUmakefile'`; do (rm -f $$f); done
