about summary refs log tree commit diff
path: root/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-01T15·30+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-01T15·30+0100
commit6dca72006aa9b1cf2f226bb5b538e744fcab976f (patch)
treed3cf77c9c02e868f2780678659afc5563d825c21 /local.mk
parent2a97f7b039be4cd290076707e1b02d04d3b257b6 (diff)
Only run "git ls-files" when doing "make check"
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