]> git.notmuchmail.org Git - notmuch/commitdiff
build: do not touch roff files after sphinx-build
authorJani Nikula <jani@nikula.org>
Sat, 5 Nov 2016 20:18:16 +0000 (22:18 +0200)
committerDavid Bremner <david@tethera.net>
Thu, 17 Nov 2016 12:40:07 +0000 (08:40 -0400)
If Sphinx fails to create any of the roff files, having touch create
them hides the errors until someone realizes, possibly much later,
that the resulting files are empty. (Note that gzip doesn't fail on
empty input files.) Sphinx will change the timestamps of any files it
has written anyway.

doc/Makefile.local

index 8633cfcd3b51e24b5df686f576271e63dbc69b4f..5dc1cad489cc4722252962d4dc70fbd5aa20de5d 100644 (file)
@@ -53,7 +53,7 @@ else
        @echo "Fatal: build dependency fail."
        @false
 endif
        @echo "Fatal: build dependency fail."
        @false
 endif
-       touch ${MAN_ROFF_FILES} $@
+       touch $@
 
 install-man: install-apidocs
 
 
 install-man: install-apidocs