SF.net SVN: nagiosplug:[2099] nagiosplug/trunk/plugins-scripts/Makefile.am
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
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.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/