summaryrefslogtreecommitdiff
path: root/lib/am/depend.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/am/depend.am')
-rw-r--r--lib/am/depend.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/am/depend.am b/lib/am/depend.am
index ecc6180a6..ecea1fcaa 100644
--- a/lib/am/depend.am
+++ b/lib/am/depend.am
@@ -18,7 +18,9 @@ am__mv = mv -f
$(am__depfiles_remade):
@$(MKDIR_P) $(@D)
- @echo '# dummy' >$@-t && $(am__mv) $@-t $@
+ @: >>$@
+## It's faster to create an empty file, hence :. See thread before and after
+## https://lists.gnu.org/archive/html/automake/2022-05/msg00006.html.
am--depfiles: $(am__depfiles_remade)
.PHONY: am--depfiles