diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-11-25 00:28:51 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2008-11-25 00:28:51 -0500 |
commit | 0c34b75b05ef49a56eeb3b43b47709132d2dbedd (patch) | |
tree | 9aea4c302a59adc5a4f53e27c3322045af55478c | |
parent | bd7a70eef1391cc5c95553b871697c677fa0d440 (diff) | |
download | monitoring-plugins-0c34b75b05ef49a56eeb3b43b47709132d2dbedd.tar.gz |
Exporting ENV vars from Makefile is supported only with GNU Make. Use the shell instead.
-rw-r--r-- | plugins-scripts/Makefile.am | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins-scripts/Makefile.am b/plugins-scripts/Makefile.am index 4c94f2cb..897c724a 100644 --- a/plugins-scripts/Makefile.am +++ b/plugins-scripts/Makefile.am | |||
@@ -6,8 +6,6 @@ NP-VERSION-FILE: .FORCE-NP-VERSION-FILE | |||
6 | 6 | ||
7 | -include NP-VERSION-FILE | 7 | -include NP-VERSION-FILE |
8 | 8 | ||
9 | export NP_VERSION:= $(NP_VERSION) | ||
10 | |||
11 | SUFFIXES = .pl .sh | 9 | SUFFIXES = .pl .sh |
12 | 10 | ||
13 | VPATH=$(top_srcdir) $(top_srcdir)/plugins-scripts $(top_srcdir)/plugins-scripts/t | 11 | VPATH=$(top_srcdir) $(top_srcdir)/plugins-scripts $(top_srcdir)/plugins-scripts/t |
@@ -39,11 +37,11 @@ test-debug: | |||
39 | CLEANFILES=$(libexec_SCRIPTS) | 37 | CLEANFILES=$(libexec_SCRIPTS) |
40 | 38 | ||
41 | .pl : | 39 | .pl : |
42 | $(AWK) -f ./subst $< > $@ | 40 | NP_VERSION=$(NP_VERSION) $(AWK) -f ./subst $< > $@ |
43 | chmod +x $@ | 41 | chmod +x $@ |
44 | 42 | ||
45 | .sh : | 43 | .sh : |
46 | $(AWK) -f ./subst $< > $@ | 44 | NP_VERSION=$(NP_VERSION) $(AWK) -f ./subst $< > $@ |
47 | chmod +x $@ | 45 | chmod +x $@ |
48 | 46 | ||
49 | clean-local: | 47 | clean-local: |