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.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/local.mk b/local.mk
index 174e6150e079..c48857f24be7 100644
--- a/local.mk
+++ b/local.mk
@@ -1,4 +1,6 @@
-dist-files += $(shell git ls-files) $(shell git ls-files)
+ifeq ($(MAKECMDGOALS), dist)
+  dist-files += $(shell git ls-files) $(shell git ls-files)
+endif
 
 dist-files += configure config.h.in