diff options
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: - cd $$(dirname $@) && pdftex --jobname $$(basename $*) $$(basename $<) + cd ${@D} && pdftex --jobname ${*F} ${<F} clean: find -E . -regex ".*\.(pdf|log)" | xargs rm -f .PHONY: all clean |