2014-02-01 16:30:24 +01:00
|
|
|
ifeq ($(MAKECMDGOALS), dist)
|
|
|
|
dist-files += $(shell git ls-files) $(shell git ls-files)
|
|
|
|
endif
|
2014-02-01 14:28:31 +01:00
|
|
|
|
2014-02-04 10:09:45 +01:00
|
|
|
dist-files += configure config.h.in nix.spec
|
2014-02-01 15:18:48 +01:00
|
|
|
|
|
|
|
GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr
|
2014-02-07 17:15:00 +01:00
|
|
|
|
|
|
|
$(foreach i, config.h $(call rwildcard, src/lib*, *.hh), $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))
|
2014-03-05 11:11:24 +01:00
|
|
|
|
|
|
|
$(foreach i, config.h $(call rwildcard, src/boost, *.hpp), $(eval $(call install-file-in, $(i), $(includedir)/nix/$(patsubst src/%/,%,$(dir $(i))), 0644)))
|