aboutsummaryrefslogtreecommitdiffstats
path: root/2010/Makefile
blob: 7331ace217c3bc0f11ad835f443b7548660e5411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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