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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Jan 5 14:59:03 CET 2012


Revision: 16693
          http://gar.svn.sourceforge.net/gar/?rev=16693&view=rev
Author:   dmichelsen
Date:     2012-01-05 13:59:02 +0000 (Thu, 05 Jan 2012)
Log Message:
-----------
mGAR v2: Honour *_config besides *-config

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

Modified: csw/mgar/gar/v2/gar.mk
===================================================================
--- csw/mgar/gar/v2/gar.mk	2012-01-05 13:27:23 UTC (rev 16692)
+++ csw/mgar/gar/v2/gar.mk	2012-01-05 13:59:02 UTC (rev 16693)
@@ -943,10 +943,12 @@
 	)
 	@$(MAKECOOKIE)
 
+CONFIG_FILES ?= $(bindir)/.*_config $(bindir)/.*-config
+
 # Copy 
 merge-copy-config-only:
 	$(_DBG_MERGE)(cd $(INSTALLISADIR)$(if $(ALLOW_RELOCATE),$(RELOCATE_PREFIX)); umask 022 && pcopy \
-		-m -s ",^\(\.$(bindir)/.*-config\)\$$,\1,p" \
+		-m $(foreach C,$(CONFIG_FILES),-s ",^\(\.$C\)\$$,\1,p" ) \
 		. $(PKGROOT) \
 	)
 	@$(MAKECOOKIE)

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