[Roxygen-commits] r158 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Aug 6 10:39:10 CEST 2008


Author: pcd
Date: 2008-08-06 10:39:10 +0200 (Wed, 06 Aug 2008)
New Revision: 158

Added:
   pkg/src/Makefile.win
Modified:
   pkg/src/Makefile
Log:
requires root access on R CMD check; provisional Makefile for windows


Modified: pkg/src/Makefile
===================================================================
--- pkg/src/Makefile	2008-08-05 08:39:42 UTC (rev 157)
+++ pkg/src/Makefile	2008-08-06 08:39:10 UTC (rev 158)
@@ -1,6 +1,7 @@
-all:
-	echo > empty.so && \
-	install -v roxygen $(R_HOME)/bin || \
-	true
+ROXYGEN=$(R_HOME)/bin/roxygen
 
+all: roxygen
+	touch roxygen.so && \
+	install $< $(ROXYGEN)
+
 clean:

Added: pkg/src/Makefile.win
===================================================================
--- pkg/src/Makefile.win	                        (rev 0)
+++ pkg/src/Makefile.win	2008-08-06 08:39:10 UTC (rev 158)
@@ -0,0 +1,6 @@
+ROXYGEN=$(R_HOME)/bin/roxygen.sh
+
+all: roxygen
+	sed -e 1d $< > $(ROXYGEN)
+
+clean:



More information about the Roxygen-commits mailing list