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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Nov 10 17:17:00 CET 2009


Revision: 7210
          http://gar.svn.sourceforge.net/gar/?rev=7210&view=rev
Author:   dmichelsen
Date:     2009-11-10 16:17:00 +0000 (Tue, 10 Nov 2009)

Log Message:
-----------
mGAR v2-migrateconf: First do migrateconf, than sampleconf

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

Modified: csw/mgar/gar/v2-migrateconf/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2-migrateconf/gar.pkg.mk	2009-11-10 16:13:05 UTC (rev 7209)
+++ csw/mgar/gar/v2-migrateconf/gar.pkg.mk	2009-11-10 16:17:00 UTC (rev 7210)
@@ -187,9 +187,9 @@
 #	always be the last two added.  The reason for this is that
 #	you need to ensure any binaries and config files are already on disk
 #	and able to be consumed by a service that might be started.
+SPKG_CLASSES := $(call _spkg_cond_add,MIGRATECONF,cswmigrateconf)
 SPKG_CLASSES := $(call _spkg_cond_add,SAMPLECONF,cswcpsampleconf)
 SPKG_CLASSES := $(call _spkg_cond_add,PRESERVECONF,cswpreserveconf)
-SPKG_CLASSES := $(call _spkg_cond_add,MIGRATECONF,cswmigrateconf)
 SPKG_CLASSES := $(call _spkg_cond_add,ETCSERVICES,cswetcservices)
 SPKG_CLASSES := $(call _spkg_cond_add,USERGROUP,cswusergroup)
 SPKG_CLASSES := $(call _spkg_cond_add,PYCOMPILE,cswpycompile)
@@ -199,9 +199,9 @@
 # - set class for all config files
 ifneq ($(SAMPLECONF)$(PRESERVECONF)$(MIGRATECONF)$(ETCSERVICES)$(INETDCONF)$(INITSMF)$(USERGROUP)$(PYCOMPILE),)
 _CSWCLASS_FILTER = | perl -ane '\
+		$(foreach FILE,$(MIGRATECONF),$$F[1] = "cswmigrateconf" if( $$F[2] =~ m(^$(FILE)$$) );)\
 		$(foreach FILE,$(SAMPLECONF:%\.CSW=%),$$F[1] = "cswcpsampleconf" if ( $$F[2] =~ m(^$(FILE)\.CSW$$) );)\
 		$(foreach FILE,$(PRESERVECONF:%\.CSW=%),$$F[1] = "cswpreserveconf" if( $$F[2] =~ m(^$(FILE)\.CSW$$) );)\
-		$(foreach FILE,$(MIGRATECONF),$$F[1] = "cswmigrateconf" if( $$F[2] =~ m(^$(FILE)$$) );)\
 		$(foreach FILE,$(ETCSERVICES),$$F[1] = "cswetcservices" if( $$F[2] =~ m(^$(FILE)$$) );)\
 		$(foreach FILE,$(INETDCONF),$$F[1] = "cswinetd" if( $$F[2] =~ m(^$(FILE)$$) );)\
 		$(foreach FILE,$(INITSMF),$$F[1] = "cswinitsmf" if( $$F[2] =~ m(^$(FILE)$$) );)\


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