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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri May 15 12:37:47 CEST 2009


Revision: 4866
          http://gar.svn.sourceforge.net/gar/?rev=4866&view=rev
Author:   dmichelsen
Date:     2009-05-15 10:37:46 +0000 (Fri, 15 May 2009)

Log Message:
-----------
mGAR v2: Add support for CSW classutils

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

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2009-05-15 10:10:21 UTC (rev 4865)
+++ csw/mgar/gar/v2/gar.pkg.mk	2009-05-15 10:37:46 UTC (rev 4866)
@@ -116,10 +116,16 @@
 
 # Handle cswclassutils
 # - prepend cswpreserveconf if it is not already in SPKG_CLASSES
-SPKG_CLASSES := $(if $(PRESERVECONF),$(if $(filter cswpreserveconf,$(SPKG_CLASSES)),,cswpreserveconf)) $(SPKG_CLASSES)
+SPKG_CLASSES += $(if $(SAMPLECONF),$(if $(filter cswsampleconf,$(SPKG_CLASSES)),,cswsampleconf))
+SPKG_CLASSES += $(if $(PRESERVECONF),$(if $(filter cswpreserveconf,$(SPKG_CLASSES)),,cswpreserveconf))
+SPKG_CLASSES += $(if $(INITSMF),$(if $(filter cswinitsmf,$(SPKG_CLASSES)),,cswinitsmf))
 # - set class for all config files
-ifneq ($(PRESERVECONF),)
-_CSWCLASS_FILTER = | perl -ane '$(foreach CONF,$(PRESERVECONF),$$F[1] = "cswpreserveconf" if( $$F[2] =~ m(^$(CONF)$$) );)print join(" ", at F),"\n";'
+ifneq ($(SAMPLECONF)$(PRESERVECONF)$(INITSMF),)
+_CSWCLASS_FILTER = | perl -ane '\
+		$(foreach FILE,$(SAMPLECONF),$$F[1] = "cswsampleconf" if ( $$F[2] =~ m(^$(FILE)$$) );)\
+		$(foreach FILE,$(PRESERVECONF),$$F[1] = "cswpreserveconf" if( $$F[2] =~ m(^$(FILE)$$) );)\
+		$(foreach FILE,$(INITMF),$$F[1] = "cswinitsmf" if( $$F[2] =~ m(^$(FILE)$$) );)\
+		print join(" ", at F),"\n";'
 _EXTRA_GAR_PKGS += CSWcswclassutils
 endif
 


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