#Makefile for beamer

#if nothing specified, make pdf
all: one

#document name (no extension)
TARGET=Android
export TEXINPUTS=~/issm-jpl/issm/publications/Templates/beamer/Theme/Pasadena//:

#compile only once and open
one: 

	pdflatex -halt-on-error $(TARGET).tex
	open $(TARGET).pdf

#compile three times and open
complete: 

	#compile three times fpr the structure
	#first two times draftmode to go faster (no image inclusion -> faster)
	pdflatex -halt-on-error -draftmode $(TARGET).tex
	pdflatex -halt-on-error -draftmode $(TARGET).tex
	pdflatex -halt-on-error $(TARGET).tex
	open $(TARGET).pdf

clean: 
	rm -f ${TARGET}.{dvi,ps,pdf,toc,log,aux,out,nav,snm}
