]> git.notmuchmail.org Git - notmuch/blobdiff - doc/Makefile.local
doc: add dep. on stamp file for rebuilding gzipped man pages.
[notmuch] / doc / Makefile.local
index c2ae1743b0fa42bd04989990c7346ce9123fe6b1..d43ef26923bcd9f192047ff2f5d5b1c101a62d0c 100644 (file)
@@ -117,6 +117,11 @@ build-man:
 install-man:
        @echo "No sphinx, will not install man pages."
 else
+
+# it should be safe to depend on the stamp file, because it is created
+# after all roff files are moved into place.
+${MAN_GZIP_FILES}: ${DOCBUILDDIR}/.roff.stamp
+
 build-man: ${MAN_GZIP_FILES}
 install-man: ${MAN_GZIP_FILES}
        mkdir -m0755 -p "$(DESTDIR)$(mandir)/man1"