Initial commit
p# new file: runwikiq.sh
This commit is contained in:
28
paper_source/Makefile
Normal file
28
paper_source/Makefile
Normal file
@@ -0,0 +1,28 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user