[GRASS-SVN] r46986 - grass/trunk/include/Make

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 5 06:20:51 EDT 2011


Author: martinl
Date: 2011-07-05 03:20:51 -0700 (Tue, 05 Jul 2011)
New Revision: 46986

Modified:
   grass/trunk/include/Make/Dir.make
Log:
Dir.make: backport 'cleansubdirs' from G6


Modified: grass/trunk/include/Make/Dir.make
===================================================================
--- grass/trunk/include/Make/Dir.make	2011-07-05 10:18:09 UTC (rev 46985)
+++ grass/trunk/include/Make/Dir.make	2011-07-05 10:20:51 UTC (rev 46986)
@@ -21,6 +21,13 @@
 	    $(MAKE) -C $$subdir install ; \
 	done
 
+cleansubdirs:
+	@list='$(SUBDIRS)'; \
+	for subdir in $$list; do \
+	    echo $$subdir ; \
+	    $(MAKE) -C $$subdir clean; \
+	done
+
 %-recursive:
 	@list='$(SUBDIRS)'; \
 	for subdir in $$list; do \



More information about the grass-commit mailing list