18
0

Merge branch 'knitr' of ssh://gitea.communitydata.science:2200/collective/cdsc_tex into knitr

This commit is contained in:
2026-03-21 16:01:09 +09:00
3 changed files with 4 additions and 6 deletions

View File

@@ -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