summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-29 19:21:26 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-29 19:21:26 -0400
commite521304e16879d394a677232264f4d5c836c3cbb (patch)
tree9f84bcc4e2771727247e814368b0950195b7e3f2
parent85c37c0e6f8ebf9d816f984a3499d856a2e708b1 (diff)
use :: on destructive targets to allow them to be extended
-rw-r--r--build-aux/Makefile.each.tail/10-std.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/Makefile.each.tail/10-std.mk b/build-aux/Makefile.each.tail/10-std.mk
index 8cebc7f..bff3b63 100644
--- a/build-aux/Makefile.each.tail/10-std.mk
+++ b/build-aux/Makefile.each.tail/10-std.mk
@@ -36,6 +36,6 @@ _std.mostlyclean/$(outdir) := $(filter-out $(_std.slow_files) $(_std.cfg_fi
_std.clean/$(outdir) := $(filter-out $(_std.cfg_files) $(_std.gen_files) $(_std.src_files),$(_std.clean_files))
_std.distclean/$(outdir) := $(filter-out $(_std.gen_files) $(_std.src_files),$(_std.clean_files))
_std.maintainer-clean/$(outdir) := $(filter-out $(_std.src_files),$(_std.clean_files))
-$(addprefix $(outdir)/,uninstall mostlyclean clean distclean maintainer-clean):
+$(addprefix $(outdir)/,uninstall mostlyclean clean distclean maintainer-clean)::
$(RM) -- $(sort $(_std.$(@F)/$(@D)))
$(RMDIR_P) $(sort $(dir $(_std.$(@F)/$(@D)))) 2>/dev/null || $(TRUE)