mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
52419f8db3
This will eventually be moved to nixos.org.
14 lines
472 B
Makefile
14 lines
472 B
Makefile
ifeq ($(MAKECMDGOALS), dist)
|
|
dist-files += $(shell cat .dist-files)
|
|
endif
|
|
|
|
dist-files += configure config.h.in nix.spec perl/configure
|
|
|
|
clean-files += Makefile.config
|
|
|
|
GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr -I src/nix
|
|
|
|
$(foreach i, config.h $(call rwildcard, src/lib*, *.hh), \
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
|
|
|
$(eval $(call install-data-in,$(d)/flake-registry.json,$(datadir)/nix))
|