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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Sep 30 03:45:14 CEST 2010


Revision: 11097
          http://gar.svn.sourceforge.net/gar/?rev=11097&view=rev
Author:   bdwalton
Date:     2010-09-30 01:45:14 +0000 (Thu, 30 Sep 2010)

Log Message:
-----------
gar/v2: add handling for the upcoming cswap2mod CAS

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

Modified: csw/mgar/gar/v2/gar.pkg.mk
===================================================================
--- csw/mgar/gar/v2/gar.pkg.mk	2010-09-30 01:43:25 UTC (rev 11096)
+++ csw/mgar/gar/v2/gar.pkg.mk	2010-09-30 01:45:14 UTC (rev 11097)
@@ -185,6 +185,10 @@
 # This is the default path for texinfo pages to be picked up. Extend or replace as necessary.
 TEXINFO ?= $(infodir)/.*\.info(?:-\d+)? $(EXTRA_TEXINFO)
 
+# if AP2_MODS is set, files matching this pattern will have cswap2mod
+# set as their class
+AP2_MODFILES ?= /opt/csw/apache2/libexec/.*\.so $(EXTRA_AP2_MODFILES)
+
 # - set class for all config files
 _CSWCLASS_FILTER = | perl -ane '\
 		$(foreach FILE,$(MIGRATECONF),$$F[1] = "cswmigrateconf" if( $$F[2] =~ m(^$(FILE)$$) );)\
@@ -197,6 +201,7 @@
 		$(foreach FILE,$(CRONTABS),$$F[1] = "cswcrontab" if( $$F[2] =~ m(^$(FILE)$$) );)\
 		$(if $(PYCOMPILE),$(foreach FILE,$(_PYCOMPILE_FILES),$$F[1] = "cswpycompile" if( $$F[2] =~ m(^$(FILE)$$) );))\
 		$(foreach FILE,$(TEXINFO),$$F[1] = "cswtexinfo" if( $$F[2] =~ m(^$(FILE)$$) );)\
+		$(if $(AP2_MODS),$(foreach FILE,$(AP2_MODFILES),$$F[1] = "cswap2mod" if( $$F[2] =~ m(^$(FILE)$$) );))\
 		print join(" ", at F),"\n";'
 
 # If you add another filter above, also add the class to this list. It is used
@@ -216,6 +221,7 @@
 _CSWCLASSES += cswinetd
 _CSWCLASSES += cswinitsmf
 _CSWCLASSES += cswtexinfo
+_CSWCLASSES += cswap2mod
 _CSWCLASSES += cswpostmsg
 
 # Make sure the configuration files always have a .CSW suffix and rename the


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