aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.local
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.local b/Makefile.local
index 16b0103b..1c3d5f5b 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -172,8 +172,8 @@ notmuch.1.gz: notmuch.1
.PHONY: install
install: all notmuch.1.gz
- mkdir -p $(DESTDIR)$(prefix)/share/man/man1
- install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
+ mkdir -p $(DESTDIR)$(mandir)/man1
+ install -m0644 notmuch.1.gz $(DESTDIR)$(mandir)/man1/
mkdir -p $(DESTDIR)$(prefix)/bin/
install notmuch-shared $(DESTDIR)$(prefix)/bin/notmuch
ifeq ($(MAKECMDGOALS), install)