aboutsummaryrefslogtreecommitdiff
path: root/Makefile.local
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.local b/Makefile.local
index 6573f63..605a3af 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -24,13 +24,13 @@ notmuch.1.gz:
gzip --stdout notmuch.1 > notmuch.1.gz
install: all notmuch.1.gz
- for d in $(DESTDIR)/usr/bin/ $(DESTDIR)/usr/share/man/man1 \
+ for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(prefix)/share/man/man1 \
$(DESTDIR)/etc/bash_completion.d/ ; \
do \
install -C -d $$d ; \
done ;
- install -C notmuch $(DESTDIR)/usr/bin/
- install -C notmuch.1.gz $(DESTDIR)/usr/share/man/man1/
+ install -C notmuch $(DESTDIR)$(prefix)/bin/
+ install -C notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
install -C notmuch-completion.bash \
$(DESTDIR)/etc/bash_completion.d/notmuch