From c0a75482b4dca777d2578e2e46a380adf13c6f3e Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Sun, 23 Nov 2008 11:19:27 -0500 Subject: Avoid the use of .PHONY (target s created twice and I have no idea if it's right). diff --git a/plugins-root/Makefile.am b/plugins-root/Makefile.am index de8813f..843b8a9 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 c9e3e40..4c94f2c 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 5987690..10fb06c 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 - -- cgit v0.10-9-g596f