From: Michal Sojka Date: Thu, 1 Apr 2010 11:47:45 +0000 (+0200) Subject: Makefile: Create include directory when installing headers X-Git-Tag: 0.1~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b884ab2ef1b9e15b81d119089e64c2c0fa60012e;p=notmuch.git 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. --- diff --git a/lib/Makefile.local b/lib/Makefile.local index 0fd843a1..85b010e6 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)