[Pomp-commits] r990 - pkg

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Jun 29 15:22:21 CEST 2014


Author: kingaa
Date: 2014-06-29 15:22:21 +0200 (Sun, 29 Jun 2014)
New Revision: 990

Modified:
   pkg/Makefile
Log:
- update Makefile

Modified: pkg/Makefile
===================================================================
--- pkg/Makefile	2014-06-29 12:21:37 UTC (rev 989)
+++ pkg/Makefile	2014-06-29 13:22:21 UTC (rev 990)
@@ -144,10 +144,10 @@
 	$(RSCRIPT) pkgindex.R
 
 %.tex: %.Rnw
-	$(RCMD) Sweave $*
+	$(RSCRIPT) -e "library(knitr); knit(\"$*.Rnw\")"
 
 %.R: %.Rnw
-	$(RCMD) Stangle $*
+	$(RSCRIPT) -e "library(knitr); purl(\"$*.Rnw\")"
 
 %.pdf: %.tex
 	$(PDFLATEX) $*
@@ -166,6 +166,7 @@
 	$(MAKEIDX) $*
 
 clean:
-	$(RM) *.o *.so *.tex *.log *.aux *.out *.nav *.snm *.toc *-???.pdf Rplots.ps Rplots.pdf
+	$(RM) *.o *.so *.tex *.log *.aux *.out *.nav *.snm *.toc *.bak
+	$(RM) Rplots.ps Rplots.pdf
 
 .SECONDARY:



More information about the pomp-commits mailing list