1
0
Files
groceryheist 72633c193b Initial commit
p#	new file:   runwikiq.sh
2018-06-02 15:32:19 -07:00

29 lines
429 B
Makefile

#!/usr/bin/make
all: $(patsubst %.Rtex,%.pdf,$(wildcard *.Rtex))
pdf: all
%.tex: %.Rtex
Rscript -e "library(knitr); knit('$<')"
%.pdf: %.tex
latexmk -f -pdf -quiet $<
clean:
latexmk -f -pdf -quiet -c *.tex
rm -rf figure/
rm -f *.tex
rm -f *.tmp
rm -f vc
rm -f *.bbl
rm -f generalizable_wiki.pdf
viewpdf: all
evince *.pdf
spell:
aspell -c -t --tex-check-comments -b text.tex
.PHONY: clean all
.PRECIOUS: %.tex