X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile.local;h=bb5d6762c9b091251546a50bd9a9d6dd1536bf86;hp=16b0103b8599f7fdedd2ca8a42fdcdd60b4e0251;hb=248e6f8c04ba88806ad7e8cd07f1c68493dc1a52;hpb=b5d8fe278425f7be49b6819e8187efffdffbd836 diff --git a/Makefile.local b/Makefile.local index 16b0103b..bb5d6762 100644 --- a/Makefile.local +++ b/Makefile.local @@ -138,6 +138,11 @@ DEPS := $(DEPS:%.cc=.deps/%.d) clean: rm -f $(CLEAN); rm -rf .deps +# We don't (yet) have any distributed files not in the upstream repository. +# So distclean is currently identical to clean. +.PHONY: distclean +distclean: clean + notmuch_client_srcs = \ $(notmuch_compat_srcs) \ debugger.c \ @@ -172,8 +177,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)