diff options
Diffstat (limited to 'local.mk')
-rw-r--r-- | local.mk | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/local.mk b/local.mk index 5c80451bd579..5d7e0fb2e428 100644 --- a/local.mk +++ b/local.mk @@ -1,9 +1,8 @@ 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 src/nlohmann/json.hpp +dist-files += configure config.h.in nix.spec perl/configure clean-files += Makefile.config @@ -11,5 +10,3 @@ GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I $(foreach i, config.h $(call rwildcard, src/lib*, *.hh), \ $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644))) - -$(foreach i, $(call rwildcard, src/boost, *.hpp), $(eval $(call install-file-in, $(i), $(includedir)/nix/$(patsubst src/%/,%,$(dir $(i))), 0644))) |