# Makefile for Fripost board minutets for meetings 2010 # # by Gustav Eek 2011 noarg: echo -e '\nThis script do not run without arguments. Run for example:\n\n make 2011-02-13-board-notes.pdf\n make all\n' all: 2010-12-09-board-notes.pdf 2010-11-17-board.pdf 2010-11-17-board-with-app.pdf 2010-12-09-board-notes.pdf: 2010-12-09-board-notes.tex ../preamble/preamble.tex pdflatex 2010-12-09-board-notes.tex; pdflatex 2010-12-09-board-notes.tex 2010-11-17-board.pdf: 2010-11-17-temp.pdf gs -sOutputFile=2010-11-17-board.pdf -sPAPERSIZE=a4 -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -dFirstPage=1 -dLastPage=1 2010-11-17-temp.pdf 2010-11-17-board-with-app.pdf: 2010-11-17-temp.pdf cp 2010-11-17-temp.pdf 2010-11-17-board-with-app.pdf 2010-11-17-temp.pdf: 2010-11-17-board.tex ../preamble/preamble.tex pdflatex 2010-11-17-board.tex; pdflatex 2010-11-17-board.tex; mv 2010-11-17-board.pdf 2010-11-17-temp.pdf clean: rm *.aux *.bbl *.dvi *.log *.nav *.out *.snm *.toc *~ *.pdf