X-Git-Url: https://code.communitydata.science/cdsc_tex.git/blobdiff_plain/ce30e1ac617c570564b72a6ab73b143061886b1a..refs/heads/knitr:/paper_template/Makefile?ds=inline diff --git a/paper_template/Makefile b/paper_template/Makefile index d7e6678..595c370 100644 --- a/paper_template/Makefile +++ b/paper_template/Makefile @@ -1,10 +1,8 @@ #!/usr/bin/make -all: $(patsubst %.Rnw,%.pdf,$(wildcard *.Rnw)) +all: $(patsubst %.Rtex,%.pdf,$(wildcard *.Rtex)) -# use the following section for Rnw/knitr documents -# all: $(patsubst %.Rnw,%.pdf,$(wildcard *.Rnw)) -%.tex: %.Rnw +%.tex: %.Rtex Rscript -e "library(knitr); knit('$<')" %.pdf: %.tex @@ -15,7 +13,7 @@ clean: rm -f *.tmp *.run.xml rm -f vc rm -f *.bbl - # the following lines are useful for Rnw/knitr + # the following lines are useful for Rtex/knitr rm -rf cache/ figure/ rm -f *.tex