about summary refs log tree commit diff
path: root/local.mk
blob: 318710479c10872823a990589980a676e27c264d (plain) (blame)
1
2
3
4
5
6
7
8
9
ifeq ($(MAKECMDGOALS), dist)
  dist-files += $(shell git ls-files) $(shell git ls-files)
endif

dist-files += configure config.h.in nix.spec

GLOBAL_CXXFLAGS += -I . -I src -I src/libutil -I src/libstore -I src/libmain -I src/libexpr

$(foreach i, config.h $(call rwildcard, src/lib*, *.hh), $(eval $(call install-file-in, $(i), $(includedir)/nix, 0644)))