mirror of
https://github.com/NixOS/nix
synced 2025-07-10 04:43:53 +02:00
Don't depend on git when generating source tarball
This commit is contained in:
parent
164487a5ba
commit
a7dd26961d
2 changed files with 5 additions and 2 deletions
3
local.mk
3
local.mk
|
@ -1,5 +1,6 @@
|
|||
ifeq ($(MAKECMDGOALS), dist)
|
||||
dist-files += $(shell git ls-files)
|
||||
# Make sure we are in repo root with `--git-dir`
|
||||
dist-files += $(shell git --git-dir=.git ls-files || find * -type f)
|
||||
endif
|
||||
|
||||
dist-files += configure config.h.in nix.spec
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue