about summary refs log tree commit diff
path: root/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-12-22T10·33+0100
committerEelco Dolstra <edolstra@gmail.com>2017-12-22T10·35+0100
commit6d8087083278b078d0db6238fb16929163388acd (patch)
treebdb23ca2895364029d0af21e746e7a0c16eb7472 /local.mk
parent62e214fa6f34a287f04348b633ba5ef88e06df66 (diff)
release.nix: Use fetchTarball and fetchGit
In particular, using fetchGit means we don't need hackery to clean the
source tree when building from an unclean tree.
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