diff options
-rw-r--r-- | Makefile.config.in | 1 | ||||
-rw-r--r-- | local.mk | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.config.in b/Makefile.config.in index f5f813b2c..5524ea3ad 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -17,6 +17,7 @@ docbookrng = @docbookrng@ docbookxsl = @docbookxsl@ docdir = @docdir@ exec_prefix = @exec_prefix@ +includedir = @includedir@ libdir = @libdir@ libexecdir = @libexecdir@ localstatedir = @localstatedir@ @@ -5,3 +5,5 @@ 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))) |