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@ docbookxsl = @docbookxsl@
docdir = @docdir@ docdir = @docdir@
exec_prefix = @exec_prefix@ exec_prefix = @exec_prefix@
includedir = @includedir@
libdir = @libdir@ libdir = @libdir@
libexecdir = @libexecdir@ libexecdir = @libexecdir@
localstatedir = @localstatedir@ localstatedir = @localstatedir@

View file

@ -5,3 +5,5 @@ endif
dist-files += configure config.h.in nix.spec 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 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)))