aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/Makefile.local
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-04-06 12:41:54 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-04-06 14:42:09 -0700
commit14e98e454e86d2322ecb6b9dc2364280cde4afbd (patch)
tree8816f3816e05e16ca5ae54937cf21c9cfaf6b8b1 /lib/Makefile.local
parentc857b970e5cd53ae78543961735680c9b8e14341 (diff)
configure: Add support for a --includedir option
Very similar to the existing --libdir option.
Diffstat (limited to 'lib/Makefile.local')
-rw-r--r--lib/Makefile.local4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Makefile.local b/lib/Makefile.local
index 03a458b2..ed6b25f4 100644
--- a/lib/Makefile.local
+++ b/lib/Makefile.local
@@ -66,8 +66,8 @@ install-$(dir):
install -m0644 $(dir)/$(LIBNAME) $(DESTDIR)$(libdir)/
ln -sf $(LIBNAME) $(DESTDIR)$(libdir)/$(SONAME)
ln -sf $(LIBNAME) $(DESTDIR)$(libdir)/$(LINKER_NAME)
- mkdir -p $(DESTDIR)$(prefix)/include/
- install -m0644 $(dir)/notmuch.h $(DESTDIR)$(prefix)/include/
+ mkdir -p $(DESTDIR)$(includedir)
+ install -m0644 $(dir)/notmuch.h $(DESTDIR)$(includedir)/
SRCS := $(SRCS) $(libnotmuch_c_srcs) $(libnotmuch_cxx_srcs)
CLEAN := $(CLEAN) $(libnotmuch_modules) $(dir)/$(SONAME) $(dir)/$(LINKER_NAME) $(dir)$(LIBNAME) libnotmuch.a