modify install target to depend on install-emacs and install-bash

This makes the Debian package building scripts much simpler.
This commit is contained in:
Jameson Graef Rollins 2009-12-23 21:15:55 -05:00
parent 518c8c0d3f
commit 3650f4d195

View file

@ -27,7 +27,7 @@ notmuch: $(notmuch_client_modules) lib/notmuch.a
notmuch.1.gz: notmuch.1 notmuch.1.gz: notmuch.1
$(call quiet,gzip) --stdout $^ > $@ $(call quiet,gzip) --stdout $^ > $@
install: all notmuch.1.gz install: all notmuch.1.gz install-emacs install-bash
for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(prefix)/share/man/man1 ; \ for d in $(DESTDIR)$(prefix)/bin/ $(DESTDIR)$(prefix)/share/man/man1 ; \
do \ do \
install -d $$d ; \ install -d $$d ; \
@ -35,7 +35,7 @@ install: all notmuch.1.gz
install notmuch $(DESTDIR)$(prefix)/bin/ install notmuch $(DESTDIR)$(prefix)/bin/
install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/ install -m0644 notmuch.1.gz $(DESTDIR)$(prefix)/share/man/man1/
install-emacs: install emacs install-emacs: emacs
for d in $(DESTDIR)/$(emacs_lispdir) ; \ for d in $(DESTDIR)/$(emacs_lispdir) ; \
do \ do \
install -d $$d ; \ install -d $$d ; \