aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net> 2008-11-23 11:19:27 -0500
committerGravatar Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net> 2008-11-23 13:34:19 -0500
commitc0a75482b4dca777d2578e2e46a380adf13c6f3e (patch)
treefb3520b726add5785a8092eaac33e225208d5777
parent39cc4c40315644026965aebfa9e6ac537db1a89a (diff)
downloadmonitoring-plugins-c0a75482b4dca777d2578e2e46a380adf13c6f3e.tar.gz
Avoid the use of .PHONY (target s created twice and I have no idea if it's right).
-rw-r--r--plugins-root/Makefile.am3
-rw-r--r--plugins-scripts/Makefile.am3
-rw-r--r--plugins/Makefile.am4
3 files changed, 6 insertions, 4 deletions
diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am
index de8813ff..843b8a99 100644
--- a/plugins-root/Makefile.am
+++ b/plugins-root/Makefile.am
@@ -2,6 +2,8 @@
NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
@$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
+.FORCE-NP-VERSION-FILE:
+
-include NP-VERSION-FILE
AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"'
@@ -86,4 +88,3 @@ all-local: .FORCE-NP-VERSION-FILE
clean-local:
rm -f NP-VERSION-FILE
-.PHONY: .FORCE-NP-VERSION-FILE
diff --git a/plugins-scripts/Makefile.am b/plugins-scripts/Makefile.am
index c9e3e40e..4c94f2cb 100644
--- a/plugins-scripts/Makefile.am
+++ b/plugins-scripts/Makefile.am
@@ -2,6 +2,8 @@
NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
@$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
+.FORCE-NP-VERSION-FILE:
+
-include NP-VERSION-FILE
export NP_VERSION:= $(NP_VERSION)
@@ -47,4 +49,3 @@ CLEANFILES=$(libexec_SCRIPTS)
clean-local:
rm -f NP-VERSION-FILE
-.PHONY: .FORCE-NP-VERSION-FILE
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 59876902..10fb06c6 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -2,6 +2,8 @@
NP-VERSION-FILE: .FORCE-NP-VERSION-FILE
@$(SHELL_PATH) $(top_srcdir)/NP-VERSION-GEN
+.FORCE-NP-VERSION-FILE:
+
-include NP-VERSION-FILE
AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"'
@@ -177,5 +179,3 @@ clean-local:
uninstall-local:
cd $(DESTDIR)$(libexecdir) && rm -f $(check_tcp_programs)
-.PHONY: .FORCE-NP-VERSION-FILE
-