diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-03-23 20:25:50 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-03-23 20:25:50 -0400 |
commit | 7d2fa08f5540c8667c813648d4eb973f3473a9a0 (patch) | |
tree | 070a39b3dc403ac4149c7081e0b458640585d693 /Makefile | |
parent | aa9f01313dad62c1d8e9ea9bda385378d1416f2d (diff) |
learned how to use Makefile
Diffstat (limited to 'Makefile')
-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 |