summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Sojka <sojkam1@fel.cvut.cz>2010-04-01 13:47:45 +0200
committerCarl Worth <cworth@cworth.org>2010-04-01 05:13:21 -0700
commitb884ab2ef1b9e15b81d119089e64c2c0fa60012e (patch)
tree94e2b04d0d636304f8a14c78f72bcdae2ad39d83
parentc0961e6a827a8abcf1532a7671f09048e390648c (diff)
Makefile: Create include directory when installing headers
When I wanted to create a debian package from the current master, make install failed because of non-existent include directory. This patch fixes this minor issue.
-rw-r--r--lib/Makefile.local1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile.local b/lib/Makefile.local
index 0fd843a..85b010e 100644
--- a/lib/Makefile.local
+++ b/lib/Makefile.local
@@ -54,6 +54,7 @@ install-$(dir):
$(call quiet_install_data, $(dir)/$(LIBNAME) $(DESTDIR)$(libdir)/)
$(call quiet_symlink, $(LIBNAME) $(DESTDIR)$(libdir)/$(SONAME))
$(call quiet_symlink, $(LIBNAME) $(DESTDIR)$(libdir)/$(LINKER_NAME))
+ $(call quiet_mkdir, $(DESTDIR)$(prefix)/include/)
$(call quiet_install_data, $(dir)/notmuch.h $(DESTDIR)$(prefix)/include/)
SRCS := $(SRCS) $(libnotmuch_c_srcs) $(libnotmuch_cxx_srcs)