[csw-devel] SF.net SVN: gar:[4340] csw/mgar/pkg/nsd/trunk/Makefile

idogan23 at users.sourceforge.net idogan23 at users.sourceforge.net
Thu Apr 16 13:55:27 CEST 2009


Revision: 4340
          http://gar.svn.sourceforge.net/gar/?rev=4340&view=rev
Author:   idogan23
Date:     2009-04-16 11:55:27 +0000 (Thu, 16 Apr 2009)

Log Message:
-----------
nsd: config file handling by cswsampleconf class

Modified Paths:
--------------
    csw/mgar/pkg/nsd/trunk/Makefile

Modified: csw/mgar/pkg/nsd/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nsd/trunk/Makefile	2009-04-16 11:15:00 UTC (rev 4339)
+++ csw/mgar/pkg/nsd/trunk/Makefile	2009-04-16 11:55:27 UTC (rev 4340)
@@ -13,8 +13,8 @@
 DISTFILES += $(call admfiles,CSWnsd,)
 DISTFILES += cswusergroup
 
-SPKG_CLASSES = none cswusergroup
-PROTOTYPE_FILTER = awk '$$$$3 ~ /\/nsd\/cswusergroup$$$$/ { $$$$2 = "cswusergroup" } { print }'
+SPKG_CLASSES = none cswusergroup cswcpsampleconf
+PROTOTYPE_FILTER = awk '$$$$3 ~ /\/nsd\/cswusergroup$$$$/ { $$$$2 = "cswusergroup" } $$$$3 ~ /\/nsd\/nsd.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } { print }'
 
 REQUIRED_PKGS = CSWcswclassutils
 
@@ -31,7 +31,7 @@
 CONFIGURE_ARGS += --sysconfdir=/etc/opt/csw
 
 post-install-modulated:
-	@ginstall -d $(DESTDIR)/etc/opt/csw/nsd
+	@mv $(DESTDIR)/etc/opt/csw/nsd/nsd.conf.sample $(DESTDIR)/etc/opt/csw/nsd/nsd.conf.CSW
 	@ginstall -m 755 $(FILEDIR)/cswusergroup $(DESTDIR)/etc/opt/csw/nsd/cswusergroup
 
 include gar/category.mk


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