# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#  pdflatex article template makefile
#  this file is part of kdissert templates
#  http://freehackers.org/~tnagy/kdissert/index.html
#  created by Thomas Nagy <tnagy2^8@yahoo.fr, 2004
#  permission is granted to distribute modifications and
#  copies of this file without restrictions
#

all: main.pdf

view: main.pdf
	kpdf main.pdf

main.pdf: main.tex
	pdflatex main.tex -o main.pdf && pdflatex main.tex -o main.pdf
	@echo "-> make view"

clean:
	rm -f main.out main.aux main.toc main.log

# use "make touch" to get cross references right
touch:
	touch main.tex && make
