summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index 84afdd53a9..cb6b35425a 100644
--- a/Makerules
+++ b/Makerules
@@ -823,7 +823,8 @@ distinfo: $(common-objpfx)distinfo-$(subdir)
define distinfo-vars
rm -f $@.new
-$(foreach var,subdir subdir-dirs sources elided-routines sysdep_routines \
+echo > $@.new 'subdir := $(subdir)'
+$(foreach var,subdir-dirs sources elided-routines sysdep_routines \
headers sysdep_headers distribute dont_distribute generated \
others tests extra-libs $(extra-libs:%=%-routines) \
versioned \