[csw-devel] SF.net SVN: gar:[16057] csw/mgar/gar/v2/gar.mk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Nov 2 20:14:01 CET 2011


Revision: 16057
          http://gar.svn.sourceforge.net/gar/?rev=16057&view=rev
Author:   dmichelsen
Date:     2011-11-02 19:14:01 +0000 (Wed, 02 Nov 2011)
Log Message:
-----------
mGAR v2: Fix 'reconfigure' target as reported in #64

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.mk

Modified: csw/mgar/gar/v2/gar.mk
===================================================================
--- csw/mgar/gar/v2/gar.mk	2011-11-02 18:25:41 UTC (rev 16056)
+++ csw/mgar/gar/v2/gar.mk	2011-11-02 19:14:01 UTC (rev 16057)
@@ -572,11 +572,13 @@
 reconfigure: reset-configure configure
 
 reset-configure: $(addprefix reset-configure-,$(MODULATIONS))
-	rm -f $(COOKIEDIR)/configure
+	@rm -f $(addprefix $(COOKIEDIR)/configure-,$(MODULATIONS))
+	@rm -f $(COOKIEDIR)/configure
 
-# XXX: pre-*, post-*
 reset-configure-modulated:
-	rm -f $(addprefix $(COOKIEDIR)/,$(CONFIGURE_TARGETS))
+	@rm -f $(foreach C,pre-configure-modulated configure-modulated post-configure-modulated,$(COOKIEDIR)/$C)
+	@rm -f $(COOKIEDIR)/pre-configure-$(MODULATION) $(COOKIEDIR)/post-configure-$(MODULATION)
+	@rm -f $(addprefix $(COOKIEDIR)/,$(CONFIGURE_TARGETS))
 
 # returns true if configure has completed successfully, false
 # otherwise

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list