BASENAME = licenciamiento_sl
PAGE = 1

all: show

clean:
	rm -f $(BASENAME).{aux,log,nav,out,pdf,snm,toc,vrb}

build: clean
	# Run it twice, as otherwise the .nav file won't be there, and no
	# index will be made
	pdflatex $(BASENAME).tex
	pdflatex $(BASENAME).tex

show: build justshow

justshow:
	evince $(BASENAME).pdf
