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

j_arndt at users.sourceforge.net j_arndt at users.sourceforge.net
Mon Feb 16 16:34:59 CET 2009


Revision: 3129
          http://gar.svn.sourceforge.net/gar/?rev=3129&view=rev
Author:   j_arndt
Date:     2009-02-16 15:34:59 +0000 (Mon, 16 Feb 2009)

Log Message:
-----------
nsca: added pre-install-modulated directives to Makefile

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

Modified: csw/mgar/pkg/nsca/trunk/Makefile
===================================================================
--- csw/mgar/pkg/nsca/trunk/Makefile	2009-02-16 15:01:52 UTC (rev 3128)
+++ csw/mgar/pkg/nsca/trunk/Makefile	2009-02-16 15:34:59 UTC (rev 3129)
@@ -21,11 +21,6 @@
 #CONFIGURE_ARGS += --with-nsca-grp=nagios
 CONFIGURE_ARGS += --with-nsca-port=5667
 
-sysconfdir ?= $(prefix)/etc
-bindir ?= $(prefix)/bin
-localstatedir ?= $(prefix)/nagios/var
-
-
 BUILD_TARGETS = nsca
 
 SKIPTEST = 1
@@ -35,3 +30,9 @@
 INSTALL_ARGS += install-nsca
 
 include gar/category.mk
+
+pre-install-modulated:
+	ginstall -d $(DESTDIR)$(bindir)
+	ginstall -d $(DESTDIR)$(prefix)/nagios/bin
+	ginstall -d $(DESTDIR)$(prefix)/nagios/etc
+	$(MAKECOOKIE)


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