summaryrefslogtreecommitdiff
path: root/Makefile
blob: 18166f27b5e562f1caca3b25ecfe6fb138e2003e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.POSIX:
.SUFFIXES: .tex .pdf
PYTHON = python
all: progreport/document.pdf execsumm/document.pdf
progreport/document.pdf: progreport/document.tex format.tex com.tex
execsumm/document.pdf: execsumm/document.tex format.tex com.tex plot.png
.tex.pdf:
	cd ${@D} && pdftex --jobname ${*F} ${<F}
clean:
	find . -regex ".*\.\(pdf\|log\)" -exec rm -f {} +
view:
	open -a Preview execsumm/document.pdf
plot.png: graph.py
	${PYTHON} graph.py img
.PHONY: all clean