]> git.notmuchmail.org Git - notmuch/blobdiff - contrib/notmuch-mutt/Makefile
emacs: Add new option notmuch-search-hide-excluded
[notmuch] / contrib / notmuch-mutt / Makefile
index 855438be35779a8497a9a7b4981892fe66af05e3..de933eaa72d26117eb5672fb3497a9d4768ead99 100644 (file)
@@ -15,11 +15,11 @@ README.html: README
        markdown $< > $@
 
 install: all
-       mkdir -p $(DESTDIR)$(prefix)/bin
+       mkdir -p $(DESTDIR)$(prefix)/bin $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(sysconfdir)/Muttrc.d
        sed "1s|^#!.*|#! $(PERL_ABSOLUTE)|" < $(NAME) > $(DESTDIR)$(prefix)/bin/$(NAME)
        chmod 755 $(DESTDIR)$(prefix)/bin/$(NAME)
-       install -D -m 644 $(NAME).1 $(DESTDIR)$(mandir)/man1/$(NAME).1
-       install -D -m 644 $(NAME).rc $(DESTDIR)$(sysconfdir)/Muttrc.d/$(NAME).rc
+       install -m 644 $(NAME).1 $(DESTDIR)$(mandir)/man1/
+       install -m 644 $(NAME).rc $(DESTDIR)$(sysconfdir)/Muttrc.d/
 
 clean:
        rm -f notmuch-mutt.1 README.html