# This file: http://user.it.uu.se/~embe8573/hs-linux/docs/report/Makefile name = report texc = xelatex texf = -halt-on-error ${name}.pdf: ${name}.tex ${name}.bib ../hs.txt $(texc) $(texf) $< # get .idx and .bcf $(texc) $(texf) $< > /dev/null 2> /dev/null # get .idx (again) makeindex ${name}.idx > /dev/null # get .ind (from .idx) biber -q ${name} # get .bbl (from .bcf) $(texc) $(texf) $< > /dev/null 2> /dev/null # get .pdf pdfunite front-30.pdf abstract.pdf report.pdf final-30.pdf pdfunite front-45.pdf abstract.pdf report.pdf final-45.pdf ../hs.txt: ../hs.1 ${MAKE} -C ../ clean: zsh -c 'rm -rf in missfont.log ${name}.(aux|bbl|bcf|bib.blg|blg|log|run.xml|toc|pdf|out|idx|ilg|ind)'