]> git.notmuchmail.org Git - notmuch/commitdiff
Makefile: Fix missing dependency for notmuch.1 manual page.
authorCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 05:04:31 +0000 (21:04 -0800)
committerCarl Worth <cworth@cworth.org>
Wed, 18 Nov 2009 05:04:31 +0000 (21:04 -0800)
The Makefile was failing to regnerate the notmuch.1.gz file when
notmuch.1 was updated, (so stale documentation could potentially be
installed).

Makefile.local

index f824bed1f1c8a6bf46955a7970f2063a38a2e841..a26ece2c3ff006b2682b69f99e7d034477b6929a 100644 (file)
@@ -1,4 +1,4 @@
-all: notmuch
+all: notmuch notmuch.1.gz
 
 notmuch_client_srcs =          \
        notmuch.c               \
@@ -20,7 +20,7 @@ notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
 notmuch: $(notmuch_client_modules) lib/notmuch.a
        $(CC) $(LDFLAGS) $^ -o $@
 
-notmuch.1.gz:
+notmuch.1.gz: notmuch.1
        gzip --stdout notmuch.1 > notmuch.1.gz
 
 install: all notmuch.1.gz