[Pomp-commits] r1000 - pkg
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jul 15 15:23:46 CEST 2014
Author: kingaa
Date: 2014-07-15 15:23:46 +0200 (Tue, 15 Jul 2014)
New Revision: 1000
Modified:
pkg/Makefile
Log:
- put 'pkgindex.R' facilities directly into Makefile
Modified: pkg/Makefile
===================================================================
--- pkg/Makefile 2014-07-15 10:23:19 UTC (rev 999)
+++ pkg/Makefile 2014-07-15 13:23:46 UTC (rev 1000)
@@ -136,12 +136,13 @@
-$(INSTALL) -m0644 $(PKG).zip $(REPOS)/$(WINREPOS)
-$(INSTALL) -m0644 $(PKG).tar.gz $(REPOS)/$(SRCREPOS)
-$(INSTALL) -m0644 $*.pdf $(REPOS)/$(DOCREPOS)
- $(RSCRIPT) pkgindex.R winrepos="\"$(REPOS)/$(WINREPOS)\"" srcrepos="\"$(REPOS)/$(SRCREPOS)\""
+ $(RSCRIPT) -e 'Sys.umask("0022"); tools::write_PACKAGES(dir="$(REPOS)/$(WINREPOS)",type="win.binary")'
+ $(RSCRIPT) -e 'Sys.umask("0022"); tools::write_PACKAGES(dir="$(REPOS)/$(SRCREPOS)",type="source")'
mkdir -p $(ARCHIVE)
-$(INSTALL) -m0644 $(PKG).zip $(ARCHIVE)
-$(INSTALL) -m0644 $(PKG).tar.gz $(ARCHIVE)
-$(INSTALL) -m0644 $*.pdf $(ARCHIVE)
- $(RSCRIPT) pkgindex.R
+ $(RSCRIPT) -e 'Sys.umask("0022"); tools::write_PACKAGES(dir="dists",type="source")'
%.tex: %.Rnw
$(RSCRIPT) -e "library(knitr); knit(\"$*.Rnw\")"
More information about the pomp-commits
mailing list