[Rinside-commits] r261 - pkg

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Sep 16 16:21:22 CEST 2012


Author: edd
Date: 2012-09-16 16:21:22 +0200 (Sun, 16 Sep 2012)
New Revision: 261

Modified:
   pkg/cleanup
Log:
also remove the autogenerated headers on cleanup
clean examples/* via loop


Modified: pkg/cleanup
===================================================================
--- pkg/cleanup	2012-09-15 22:32:06 UTC (rev 260)
+++ pkg/cleanup	2012-09-16 14:21:22 UTC (rev 261)
@@ -1,12 +1,13 @@
 
 rm -vf  src/*.o src/*.so inst/lib/*.h \
+   	src/RInsideEnvVars.h src/RInsideAutoloads.h \
 	inst/lib/lib*.so inst/lib/lib*.a \
 	Librinside.a
 
-cd inst/examples/standard && make clean && cd -
-cd inst/examples/mpi && make clean && cd -
-cd inst/examples/qt && qmake && make clean && cd -
-cd inst/examples/wt && make clean && cd -
-cd inst/examples/armadillo && make clean && cd -
-cd inst/examples/eigen && make clean && cd -
+for d in standard mpi qt wt armadillo eigen
+do
+    cd inst/examples/${d} 
+    test -f Makefile && make clean 
+    cd ../../..
+done
 



More information about the Rinside-commits mailing list