From 69a6e7cea14d7310d84012b4870eb3464046c6ff Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Thu, 28 May 2020 18:26:02 -0400 Subject: outputs/ made into symlink --- Makefile.orig | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Makefile.orig') diff --git a/Makefile.orig b/Makefile.orig index 3f23a3c..68f8903 100644 --- a/Makefile.orig +++ b/Makefile.orig @@ -1,18 +1,18 @@ .POSIX: .SUFFIXES: .tex .pdf -DIRS = outputs graph PDFS = poster/document.pdf report/document.pdf logbook/document.pdf +QR = outputs/qr.png outputs/qr-source.png PYTHON = python3 PDFTEX = pdftex GHOSTSCRIPT = gs -pdfs: outputs/poster.pdf outputs/report.pdf outputs/logbook.pdf -$(DIRS): - mkdir -p $@ +pdfs: $(PDFS) +graph: + mkdir -p graph png: outputs/poster.png clean: - rm -rf imgs gen/tables.tex $(DIRS) data/tables.tex $(PDFS) + rm -rf imgs graph gen/tables.tex data/tables.tex $(PDFS) $(QR) imgs: python/data.py python/img.py mkdir -p imgs @@ -28,14 +28,14 @@ graph/nearest_neighbor.png: python/data.py python/neighbor.py graph graph/made: graph/depth_width.png graph/nearest_neighbor.png graph touch graph/made -outputs/poster.png: outputs/poster.pdf outputs +outputs/poster.png: poster/document.pdf $(GHOSTSCRIPT) -sDEVICE=pngalpha -r288 -o outputs/poster.png outputs/poster.pdf $(PDFS): gen/tables.tex imgs graph/made .tex.pdf: cd ${@D} && \ - $(PDFTEX) document.tex >/dev/null + $(PDFTEX) document.tex rm ${@D}/document.log poster/document.pdf: outputs/qr-source.png outputs/qr.png @@ -43,8 +43,8 @@ logbook/document.pdf report/document.pdf: generic.tex logbook/tables.tex poster/tables.tex: data/tables.tex -outputs/qr.png: outputs +outputs/qr.png: qrencode https://hrhr.dev/report.pdf -o outputs/qr.png -outputs/qr-source.png: outputs +outputs/qr-source.png: qrencode https://git.hrhr.dev/scifair -o outputs/qr-source.png -- cgit