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