about summary refs log tree commit diff
path: root/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'local.mk')
-rw-r--r--local.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/local.mk b/local.mk
index 0a22542374..40a910991a 100644
--- a/local.mk
+++ b/local.mk
@@ -1,6 +1,5 @@
 ifeq ($(MAKECMDGOALS), dist)
-  # Make sure we are in repo root with `--git-dir`
-  dist-files += $(shell git --git-dir=.git ls-files || find * -type f)
+  dist-files += $(shell cat .dist-files)
 endif
 
 dist-files += configure config.h.in nix.spec perl/configure