From acaff279e241a2cedb7c07a5dbf3e942fec74aea Mon Sep 17 00:00:00 2001 From: Ingmar Vanhassel Date: Fri, 12 Mar 2010 14:47:36 +0100 Subject: Add a --libdir option to ./configure This allows packagers to specify to which directory libraries should be installed. Signed-off-by: Ingmar Vanhassel --- Makefile.local | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile.local') diff --git a/Makefile.local b/Makefile.local index 31ab534f..e1393953 100644 --- a/Makefile.local +++ b/Makefile.local @@ -27,15 +27,15 @@ notmuch.1.gz: notmuch.1 $(call quiet,gzip) --stdout $^ > $@ install: all notmuch.1.gz - for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(prefix)/lib/ \ + for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(libdir)/ \ $(DESTDIR)$(prefix)/include/ $(DESTDIR)$(prefix)/share/man/man1 ; \ do \ install -d $$d ; \ done ; install notmuch $(DESTDIR)$(prefix)/bin/ - install lib/$(SONAME) $(DESTDIR)$(prefix)/lib/ + install lib/$(SONAME) $(DESTDIR)$(libdir)/ install lib/notmuch.h $(DESTDIR)$(prefix)/include/ - ln -sf $(SONAME) $(DESTDIR)$(prefix)/lib/libnotmuch.so + ln -sf $(SONAME) $(DESTDIR)$(libdir)/libnotmuch.so install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/ ifeq ($(MAKECMDGOALS), install) @echo "" -- cgit v1.2.3