FILE=clt-cloud-lrec2012 LB ?=nn all: pdflatex '\nonstopmode\input $(FILE)' bibtex $(FILE) pdflatex '\batchmode\input{$(FILE)}' pdflatex '\batchmode\input{$(FILE)}' ifneq ($(LB),lb) gnome-open $(FILE).pdf endif count: bin/tex_count.pl $(FILE).tex clean: rm -f *.aux *.log *.dvi *.blg *.bbl *~