build: do not touch roff files after sphinx-build

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.
This commit is contained in:
Jani Nikula 2016-11-05 22:18:16 +02:00 committed by David Bremner
parent b3eec6f948
commit a7a683b120

View file

@ -53,7 +53,7 @@ else
@echo "Fatal: build dependency fail."
@false
endif
touch ${MAN_ROFF_FILES} $@
touch $@
install-man: install-apidocs