From 48c9d57f1769789dfd6cb876bd3e82d2252d1e59 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sun, 15 Jan 2012 23:45:31 +0100 Subject: [PATCH] build: explicitly declare some targets as .PHONY * Makefile.am (fetch, git-dist, git-release, maintainer-check): Declare as ".PHONY". --- Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index afed46a..893baff 100644 --- a/Makefile.am +++ b/Makefile.am @@ -192,9 +192,9 @@ sc_unquoted_DESTDIR \ sc_tabs_in_texi \ sc_at_in_texi -.PHONY: $(syntax_check_rules) $(syntax_check_rules): automake aclocal maintainer-check: $(syntax_check_rules) +.PHONY: maintainer-check $(syntax_check_rules) ## Look for test whose names can cause spurious failures when used as ## first argument to AC_INIT (chiefly because they might contain an @@ -623,6 +623,8 @@ git-release: git-dist $(srcdir)/lib/gnupload $(GNUPLOADFLAGS) \ --to $$dest.gnu.org:automake $(DIST_ARCHIVES) +.PHONY: git-release git-dist + ## Visually comparing differences between the Makefile.in files in ## automake's own build system as generated in two different branches ## might help to catch bugs and blunders. This has already happened a @@ -740,6 +742,7 @@ fetch: test $$stat = 0 || \ echo "See Fetchdir/update.patch for a log of the changes."; \ exit $$stat +.PHONY: fetch ## Generate release statistics, for the table in automake.texi. ## This has to be run in an up to date build tree, but there must -- 2.7.4