From: Thomas Guyot-Sionnest Date: Tue, 25 Nov 2008 05:33:23 +0000 (-0500) Subject: Workaround to support more make programs X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ed9a088b37dcb8ba56d397592f4e8230a6a011e5;p=nagiosplug.git 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. --- diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am index 843b8a9..ba2e9a2 100644 --- a/plugins-root/Makefile.am +++ b/plugins-root/Makefile.am @@ -4,7 +4,10 @@ NP-VERSION-FILE: .FORCE-NP-VERSION-FILE @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN .FORCE-NP-VERSION-FILE: --include NP-VERSION-FILE +## This is undocumented and could possibly break in future versions of +## automake. See: +## http://article.gmane.org/gmane.comp.sysutils.automake.general/10036 +@am__include@ @am__quote@NP-VERSION-FILE@am__quote@ AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' diff --git a/plugins-scripts/Makefile.am b/plugins-scripts/Makefile.am index 897c724..1970273 100644 --- a/plugins-scripts/Makefile.am +++ b/plugins-scripts/Makefile.am @@ -4,7 +4,10 @@ NP-VERSION-FILE: .FORCE-NP-VERSION-FILE @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN .FORCE-NP-VERSION-FILE: --include NP-VERSION-FILE +## This is undocumented and could possibly break in future versions of +## automake. See: +## http://article.gmane.org/gmane.comp.sysutils.automake.general/10036 +@am__include@ @am__quote@NP-VERSION-FILE@am__quote@ SUFFIXES = .pl .sh diff --git a/plugins/Makefile.am b/plugins/Makefile.am index 10fb06c..fb1924f 100644 --- a/plugins/Makefile.am +++ b/plugins/Makefile.am @@ -4,7 +4,10 @@ NP-VERSION-FILE: .FORCE-NP-VERSION-FILE @$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN .FORCE-NP-VERSION-FILE: --include NP-VERSION-FILE +## This is undocumented and could possibly break in future versions of +## automake. See: +## http://article.gmane.org/gmane.comp.sysutils.automake.general/10036 +@am__include@ @am__quote@NP-VERSION-FILE@am__quote@ AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"'