2014-02-01 15:30:24 +00:00
|
|
|
ifeq ($(MAKECMDGOALS), dist)
|
2014-05-14 20:25:25 +00:00
|
|
|
dist-files += $(shell git ls-files)
|
2014-02-01 15:30:24 +00:00
|
|
|
endif
|
2014-02-01 13:28:31 +00:00
|
|
|
|
2014-02-04 09:09:45 +00:00
|
|
|
dist-files += configure config.h.in nix.spec
|
2014-02-01 14:18:48 +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
|
|
|
|
|
|
|
$(foreach i, config.h $(call rwildcard, src/lib*, *.hh), $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
2014-03-05 10:11:24 +00:00
|
|
|
|
|
|
|
$(foreach i, config.h $(call rwildcard, src/boost, *.hpp), $(eval $(call install-file-in, $(i), $(includedir)/nix/$(patsubst src/%/,%,$(dir $(i))), 0644)))
|