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

skayser at users.sourceforge.net skayser at users.sourceforge.net
Thu Sep 17 10:55:43 CEST 2009


Revision: 6328
          http://gar.svn.sourceforge.net/gar/?rev=6328&view=rev
Author:   skayser
Date:     2009-09-17 08:55:43 +0000 (Thu, 17 Sep 2009)

Log Message:
-----------
sudosh2: added SAMPLECONF, moved config to /etc/opt/csw

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

Modified: csw/mgar/pkg/sudosh2/trunk/Makefile
===================================================================
--- csw/mgar/pkg/sudosh2/trunk/Makefile	2009-09-17 08:02:38 UTC (rev 6327)
+++ csw/mgar/pkg/sudosh2/trunk/Makefile	2009-09-17 08:55:43 UTC (rev 6328)
@@ -23,8 +23,13 @@
 MASTER_SITES = $(SF_MIRRORS)
 DISTFILES  = $(GARNAME)-$(GARVERSION).tgz
 
+sysconfdir = /etc/opt/csw
+localstatedir = /var/opt/csw
+
+SAMPLECONF = $(sysconfdir)/sudosh.conf
+
 CONFIGURE_ARGS = $(DIRPATHS)
-CONFIGURE_ARGS += --with-logdir=/var/opt/csw/sudosh
+CONFIGURE_ARGS += --with-logdir=$(localstatedir)/sudosh
 
 # No tests available
 TEST_SCRIPTS = 
@@ -51,7 +56,7 @@
 post-install-modulated: DOCDEST=$(DESTDIR)$(docdir)/$(GARNAME)
 post-install-modulated: DOCS=AUTHORS NEWS README
 post-install-modulated:
-	ginstall -d $(DESTDIR)/var/opt/csw/sudosh
+	ginstall -d $(DESTDIR)$(localstatedir)/sudosh
 	ginstall -d $(DOCDEST)
 	cp $(addprefix $(WORKSRC)/,$(DOCS)) $(DOCDEST)
 	cp $(WORKSRC)/ChangeLog $(DOCDEST)/changelog


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