From 87b9b1469af66679e1f51ebb496c9fa8bf73ae81 Mon Sep 17 00:00:00 2001 From: Nicholas Reich Date: Sun, 20 May 2018 08:23:45 -0400 Subject: [PATCH] updates to makefile. moving static dependencies to tex file only. --- writing/comparison/makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/writing/comparison/makefile b/writing/comparison/makefile index 954ded50..6195dc70 100644 --- a/writing/comparison/makefile +++ b/writing/comparison/makefile @@ -18,14 +18,15 @@ view: pdf pdf: $(TEXFILE).pdf ## knit the manuscript tex --> pdf -$(TEXFILE).pdf: $(TEXFILE).tex +## dependencies here are static files, manually updated, not used in reproducible analyses +$(TEXFILE).pdf: $(TEXFILE).tex ../flusightnetwork.bib static-figures/model-table.tex static-figures/timezero-sketch.pdf pdflatex $(TEXFILE) bibtex $(TEXFILE) pdflatex $(TEXFILE) pdflatex $(TEXFILE) ## knit Rnw --> tex -$(TEXFILE).tex: $(TEXFILE).Rnw data/all-target-bounds.csv ../../scores/target-multivals.csv ../../scores/scores.csv data/delay-model-coefs.rds ../flusightnetwork.bib static-figures/model-table.tex static-figures/timezero-sketch.pdf +$(TEXFILE).tex: $(TEXFILE).Rnw data/all-target-bounds.csv ../../scores/target-multivals.csv ../../scores/scores.csv data/delay-model-coefs.rds Rscript \ -e "library(knitr)" \ -e "knitr::knit('$<','$@')"