diff options
author | Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net> | 2008-11-23 11:19:27 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@solaris.beaubien.net> | 2008-11-23 13:34:19 -0500 |
commit | c0a75482b4dca777d2578e2e46a380adf13c6f3e (patch) | |
tree | fb3520b726add5785a8092eaac33e225208d5777 | |
parent | 39cc4c40315644026965aebfa9e6ac537db1a89a (diff) | |
download | monitoring-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.am | 3 | ||||
-rw-r--r-- | plugins-scripts/Makefile.am | 3 | ||||
-rw-r--r-- | plugins/Makefile.am | 4 |
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 @@ | |||
2 | 2 | ||
3 | NP-VERSION-FILE: .FORCE-NP-VERSION-FILE | 3 | 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: | ||
6 | |||
5 | -include NP-VERSION-FILE | 7 | -include NP-VERSION-FILE |
6 | 8 | ||
7 | AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' | 9 | AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' |
@@ -86,4 +88,3 @@ all-local: .FORCE-NP-VERSION-FILE | |||
86 | clean-local: | 88 | clean-local: |
87 | rm -f NP-VERSION-FILE | 89 | rm -f NP-VERSION-FILE |
88 | 90 | ||
89 | .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 @@ | |||
2 | 2 | ||
3 | NP-VERSION-FILE: .FORCE-NP-VERSION-FILE | 3 | 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: | ||
6 | |||
5 | -include NP-VERSION-FILE | 7 | -include NP-VERSION-FILE |
6 | 8 | ||
7 | export NP_VERSION:= $(NP_VERSION) | 9 | export NP_VERSION:= $(NP_VERSION) |
@@ -47,4 +49,3 @@ CLEANFILES=$(libexec_SCRIPTS) | |||
47 | clean-local: | 49 | clean-local: |
48 | rm -f NP-VERSION-FILE | 50 | rm -f NP-VERSION-FILE |
49 | 51 | ||
50 | .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 @@ | |||
2 | 2 | ||
3 | NP-VERSION-FILE: .FORCE-NP-VERSION-FILE | 3 | 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: | ||
6 | |||
5 | -include NP-VERSION-FILE | 7 | -include NP-VERSION-FILE |
6 | 8 | ||
7 | AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' | 9 | AM_CFLAGS = -DNP_VERSION='"$(NP_VERSION)"' |
@@ -177,5 +179,3 @@ clean-local: | |||
177 | uninstall-local: | 179 | uninstall-local: |
178 | cd $(DESTDIR)$(libexecdir) && rm -f $(check_tcp_programs) | 180 | cd $(DESTDIR)$(libexecdir) && rm -f $(check_tcp_programs) |
179 | 181 | ||
180 | .PHONY: .FORCE-NP-VERSION-FILE | ||
181 | |||