Permalink
Browse files

Install header files

  • Loading branch information...
1 parent 764d905 commit 7fab23e237b36a7ca2df6f34eb5febe4c851db42 @edolstra edolstra committed Feb 7, 2014
Showing with 3 additions and 0 deletions.
  1. +1 −0 Makefile.config.in
  2. +2 −0 local.mk
View
@@ -17,6 +17,7 @@ docbookrng = @docbookrng@
docbookxsl = @docbookxsl@
docdir = @docdir@
exec_prefix = @exec_prefix@
+includedir = @includedir@
libdir = @libdir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@
View
@@ -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)))

0 comments on commit 7fab23e

Please sign in to comment.