mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-05-28 04:35:40 -04:00
Avoid the use of .PHONY (target s created twice and I have no idea if it's right).
This commit is contained in:
parent
39cc4c4031
commit
c0a75482b4
3 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue