X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile.local;h=bb5d6762c9b091251546a50bd9a9d6dd1536bf86;hp=5c2642981f9f3924b8a938733a17586fa1194068;hb=248e6f8c04ba88806ad7e8cd07f1c68493dc1a52;hpb=0f3480919728def0c414866f8e635e94650eee82 diff --git a/Makefile.local b/Makefile.local index 5c264298..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,12 +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)$(bash_completion_dir) - install -m0644 contrib/notmuch-completion.bash $(DESTDIR)$(bash_completion_dir)/notmuch - mkdir -p $(DESTDIR)$(zsh_completion_dir) - install -m0644 contrib/notmuch-completion.zsh $(DESTDIR)$(zsh_completion_dir)/notmuch + 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)