doc-rst: Break shell command sequences on failure
authorBen Hutchings <ben@decadent.org.uk>
Tue, 31 Jan 2017 00:18:34 +0000 (00:18 +0000)
committerJonathan Corbet <corbet@lwn.net>
Mon, 6 Feb 2017 16:03:36 +0000 (09:03 -0700)
commit85bd9020d86bf51f9c300225d0c4d7d1b5aa9e48
treedea768c75ab50cccbc5c811255817bd840ce36d8
parent028f25332c4f7e8befb22e12eaedd105cd45acb2
doc-rst: Break shell command sequences on failure

As $(SHELL) doesn't include the -e option, any loop or other sequence
needs to include explicit checks for failing commands.

Fixes: 609afe6b49ef ("Documentation/sphinx: build the media intermediate ...")
Fixes: 606b9ac81a63 ("doc-rst: generic way to build only sphinx sub-folders")
Fixes: cd21379b1698 ("doc-rst: generic way to build PDF of sub-folders")
Tested-by: Markus Heiser <markus.heiser@darmarit.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/Makefile.sphinx