diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-02-10 12:05:54 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-02-10 12:05:54 -0500 |
commit | 5febe86defaa3da333241e25d61c271dd2ccf0f6 (patch) | |
tree | 14e28fb42817ccdf87d035f40252f53897ea1657 /Makefile | |
parent | 9d1824d2622cc1488caeee1b44eec8c38f1f5fd3 (diff) |
makefile cleanup
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -3,14 +3,14 @@ DIRS = imgs graph outputs $(shell mkdir -p $(DIRS)) -.PHONY: all +.PHONY: all png clean all: outputs/poster.pdf outputs/report.pdf outputs/logbook.pdf -.PHONY: png png: outputs/poster.png -.PHONY: clean clean: rm -rf $(DIRS) data/tables.tex +.SECONDEXPANSION: + imgs/made: python/data.py python/img.py cd imgs && \ python3 ../python/img.py @@ -25,7 +25,7 @@ graph/nearest_neighbor.png: python/data.py python/neighbor.py outputs/poster.png: outputs/poster.pdf gs -sDEVICE=pngalpha -r288 -o outputs/poster.png outputs/poster.pdf -outputs/%.pdf: gen/tables.tex $(wildcard %/*.tex) $(ASSETS) +outputs/%.pdf: gen/tables.tex $$(wildcard %/*.tex) $(ASSETS) cd $* && pdftex document.tex >/dev/null rm $*/document.log mv $*/document.pdf $@ @@ -43,6 +43,3 @@ outputs/qr.png: outputs/qr-source.png: qrencode https://git.hrhr.dev/scifair -o outputs/qr-source.png - -data/tables.tex: data/maketables.sh data/tables.orig.tex - data/maketables.sh |