From: Carl Worth Date: Tue, 17 Nov 2009 20:50:46 +0000 (-0800) Subject: Makefile: Prefer directories as the target for install commands. X-Git-Tag: 0.1~474 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c2d0714fe6bf7ed5d12b8fdde656a22915733ff;p=notmuch.git Makefile: Prefer directories as the target for install commands. I was confusing myself with some rules installing to directories and some installing to files. We do still install to a filename when simultaneously renaming, (such as notmuch-completion.bash to notmuch). --- diff --git a/Makefile.local b/Makefile.local index 2c457208..6573f634 100644 --- a/Makefile.local +++ b/Makefile.local @@ -29,8 +29,8 @@ install: all notmuch.1.gz do \ install -C -d $$d ; \ done ; - install -C notmuch $(DESTDIR)/usr/bin/notmuch - install -C notmuch.1.gz $(DESTDIR)/usr/share/man/man1 + install -C notmuch $(DESTDIR)/usr/bin/ + install -C notmuch.1.gz $(DESTDIR)/usr/share/man/man1/ install -C notmuch-completion.bash \ $(DESTDIR)/etc/bash_completion.d/notmuch