summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2008-11-25 00:33:23 -0500
committerThomas Guyot-Sionnest <dermoth@aei.ca>2008-11-25 08:50:35 -0500
commited9a088b37dcb8ba56d397592f4e8230a6a011e5 (patch)
treeda91cdd5a73ede96d8eb763fbbe0ffee9845d268
parent0c34b75b05ef49a56eeb3b43b47709132d2dbedd (diff)
downloadmonitoring-plugins-ed9a088b37dcb8ba56d397592f4e8230a6a011e5.tar.gz
Workaround to support more make programs
Avoid the use of "-include". Since "include" is interpreted by Automake, we have to use a special macro instead.
-rw-r--r--plugins-root/Makefile.am5
-rw-r--r--plugins-scripts/Makefile.am5
-rw-r--r--plugins/Makefile.am5
3 files changed, 12 insertions, 3 deletions
diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am
index 843b8a99..ba2e9a27 100644
--- a/plugins-root/Makefile.am
+++ b/plugins-root/Makefile.am
@@ -4,7 +4,10 @@ NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
4 @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN 4 @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
5.FORCE-NP-VERSION-FILE: 5.FORCE-NP-VERSION-FILE:
6 6
7-include NP-VERSION-FILE 7## This is undocumented and could possibly break in future versions of
8## automake. See:
9## http://article.gmane.org/gmane.comp.sysutils.automake.general/10036
10@am__include@ @am__quote@NP-VERSION-FILE@am__quote@
8 11
9AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' 12AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"'
10 13
diff --git a/plugins-scripts/Makefile.am b/plugins-scripts/Makefile.am
index 897c724a..19702739 100644
--- a/plugins-scripts/Makefile.am
+++ b/plugins-scripts/Makefile.am
@@ -4,7 +4,10 @@ NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
4 @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN 4 @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
5.FORCE-NP-VERSION-FILE: 5.FORCE-NP-VERSION-FILE:
6 6
7-include NP-VERSION-FILE 7## This is undocumented and could possibly break in future versions of
8## automake. See:
9## http://article.gmane.org/gmane.comp.sysutils.automake.general/10036
10@am__include@ @am__quote@NP-VERSION-FILE@am__quote@
8 11
9SUFFIXES = .pl .sh 12SUFFIXES = .pl .sh
10 13
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 10fb06c6..fb1924fe 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -4,7 +4,10 @@ NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
4 @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN 4 @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
5.FORCE-NP-VERSION-FILE: 5.FORCE-NP-VERSION-FILE:
6 6
7-include NP-VERSION-FILE 7## This is undocumented and could possibly break in future versions of
8## automake. See:
9## http://article.gmane.org/gmane.comp.sysutils.automake.general/10036
10@am__include@ @am__quote@NP-VERSION-FILE@am__quote@
8 11
9AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' 12AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"'
10 13