about summary refs log tree commit diff
path: root/Make-dist
diff options
context:
space:
mode:
Diffstat (limited to 'Make-dist')
-rw-r--r--Make-dist1
1 files changed, 1 insertions, 0 deletions
diff --git a/Make-dist b/Make-dist
index 00c4d154a3..e757a64d3d 100644
--- a/Make-dist
+++ b/Make-dist
@@ -222,6 +222,7 @@ dist.tar: README $(tardir) $(+tsrcs)
 	tar chvf $@ $(addprefix $(tardir)/,$(filter-out $(tardir),$^))
 
 $(tardir).tar: dist.tar subdir_dist
+	tar xf $< -C $${TMPDIR-/tmp}
 	tar covf $@ -C $${TMPDIR-/tmp} $(tardir)
 	-rm -fr $${TMPDIR-/tmp}/$(tardir) dist.tar &
 	rm $(tardir)