[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2099] nagiosplug/trunk/plugins-scripts/Makefile.am

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Tue Nov 25 06:31:18 CET 2008


Revision: 2099
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2099&view=rev
Author:   dermoth
Date:     2008-11-25 05:31:18 +0000 (Tue, 25 Nov 2008)

Log Message:
-----------
Exporting ENV vars from Makefile is supported only with GNU Make. Use the shell instead.

Modified Paths:
--------------
    nagiosplug/trunk/plugins-scripts/Makefile.am

Modified: nagiosplug/trunk/plugins-scripts/Makefile.am
===================================================================
--- nagiosplug/trunk/plugins-scripts/Makefile.am	2008-11-24 07:10:14 UTC (rev 2098)
+++ nagiosplug/trunk/plugins-scripts/Makefile.am	2008-11-25 05:31:18 UTC (rev 2099)
@@ -6,8 +6,6 @@
 
 -include NP-VERSION-FILE
 
-export NP_VERSION:= $(NP_VERSION)
-
 SUFFIXES = .pl .sh
 
 VPATH=$(top_srcdir) $(top_srcdir)/plugins-scripts $(top_srcdir)/plugins-scripts/t
@@ -39,11 +37,11 @@
 CLEANFILES=$(libexec_SCRIPTS)
 
 .pl :
-	$(AWK) -f ./subst $< > $@
+	NP_VERSION=$(NP_VERSION) $(AWK) -f ./subst $< > $@
 	chmod +x $@
 
 .sh :
-	$(AWK) -f ./subst $< > $@
+	NP_VERSION=$(NP_VERSION) $(AWK) -f ./subst $< > $@
 	chmod +x $@
 
 clean-local:


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list