Install header files

This commit is contained in:
Eelco Dolstra 2014-02-07 17:15:00 +01:00
parent 764d90597a
commit 7fab23e237
2 changed files with 3 additions and 0 deletions

View file

@ -17,6 +17,7 @@ docbookrng = @docbookrng@
docbookxsl = @docbookxsl@
docdir = @docdir@
exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@
libexecdir = @libexecdir@
localstatedir = @localstatedir@

View file

@ -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)))