mirror of
https://github.com/NixOS/nix.git
synced 2024-11-23 07:12:27 +00:00
4af2611bd1
Actually, currently they can only create download activities. Thus, downloads by builtins.fetchurl show up in the progress bar.
16 lines
639 B
Makefile
16 lines
639 B
Makefile
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)
|
|
endif
|
|
|
|
dist-files += configure config.h.in nix.spec perl/configure src/nlohmann/json.hpp
|
|
|
|
clean-files += Makefile.config
|
|
|
|
GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr
|
|
|
|
$(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)))
|