Makefile: Fix install target to depend on the all target.
authorCarl Worth <cworth@cworth.org>
Fri, 6 Nov 2009 17:33:44 +0000 (09:33 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 6 Nov 2009 17:33:44 +0000 (09:33 -0800)
Otherwise, it would just fail if you hadn't run "make" already.

Makefile

index 8fa81c617a8c0d0f8ae3b368d7d2489647a2ef8b..280b5566bb25e36239b280fbccba881c8e9c3fea 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ Makefile.dep: *.c *.cc
 notmuch.1.gz:
        gzip --stdout notmuch.1 > notmuch.1.gz
 
-install: notmuch.1.gz
+install: all notmuch.1.gz
        install -C -D notmuch $(DESTDIR)/usr/bin/notmuch
        install -C -D notmuch.1.gz $(DESTDIR)/usr/share/man/man1
        install -C -D notmuch-completion.bash \