summaryrefslogtreecommitdiff
path: root/paper/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'paper/Makefile')
-rw-r--r--paper/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/paper/Makefile b/paper/Makefile
index 5fa2f47..22018a3 100644
--- a/paper/Makefile
+++ b/paper/Makefile
@@ -4,6 +4,11 @@ loael.pdf: loael.md functional-groups.pdf loael-dataset-correlation.pdf
loael.docx: loael.md functional-groups.pdf loael-dataset-correlation.pdf
pandoc --filter pandoc-citeproc loael.md -s -o loael.docx
+%.md: %.Rmd
+ Rscript --vanilla -e "library(knitr); knit('$<');"
+
+%.pdf: %.md
+ pandoc --filter pandoc-citeproc $< -s -o $@
functional-groups.pdf: functional-groups-reduced4R.csv functional-groups.R
R CMD BATCH functional-groups.R