diff options
-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 @@ 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 - |