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).
This commit is contained in:
Carl Worth 2009-11-17 12:50:46 -08:00
parent 8e95cf4232
commit 9c2d0714fe

View file

@ -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