2014-02-01 10:30:24 -05:00
|
|
|
ifeq ($(MAKECMDGOALS), dist)
|
2017-12-22 05:33:34 -05:00
|
|
|
dist-files += $(shell cat .dist-files)
|
2014-02-01 10:30:24 -05:00
|
|
|
endif
|
2014-02-01 08:28:31 -05:00
|
|
|
|
2017-12-04 11:07:26 -05:00
|
|
|
dist-files += configure config.h.in nix.spec perl/configure
|
2014-02-01 09:18:48 -05:00
|
|
|
|
2014-07-30 05:36:28 -04:00
|
|
|
clean-files += Makefile.config
|
|
|
|
|
2018-10-26 05:35:46 -04:00
|
|
|
GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr -I src/nix
|
2014-02-07 11:15:00 -05:00
|
|
|
|
2017-02-07 12:49:17 -05:00
|
|
|
$(foreach i, config.h $(call rwildcard, src/lib*, *.hh), \
|
2015-06-09 05:14:36 -04:00
|
|
|
$(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
2019-02-11 07:01:39 -05:00
|
|
|
|
|
|
|
$(eval $(call install-data-in,$(d)/flake-registry.json,$(datadir)/nix))
|