From 142f84dd19f20b47157bbbf45aaba489b6577c88 Mon Sep 17 00:00:00 2001 From: Ryan Moeller Date: Mon, 26 Aug 2019 14:48:31 -0400 Subject: Restore :: in Makefile.am The double-colon looked like a typo, but it's actually an obscure feature. Rules with :: may appear multiple times and are run independently of one another in the order they appear. The use of :: for distclean-local was conventional, not accidental. Add comments to indicate the intentional use of double-colon rules. Reviewed-by: Brian Behlendorf Signed-off-by: Ryan Moeller Closes #9210 --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index da4f6407d..3992fe9ad 100644 --- a/Makefile.am +++ b/Makefile.am @@ -44,7 +44,8 @@ gitrev: BUILT_SOURCES = gitrev -distclean-local: +# Double-colon rules are allowed; there are multiple independent definitions. +distclean-local:: -$(RM) -R autom4te*.cache -find . \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \ -o -name .pc -o -name .hg -o -name .git \) -prune -o \ -- cgit v1.2.3