summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 11e867d..3f466ac 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ all: progreport/document.pdf execsumm/document.pdf
progreport/document.pdf: progreport/document.tex format.tex
execsumm/document.pdf: execsumm/document.tex format.tex
.tex.pdf:
- pdftex $<
+ cd $$(dirname $@) && pdftex document.tex
clean:
find . -name "*.pdf" | xargs rm -f
.PHONY: all clean