doc-rst: Delete output of failed dot-SVG conversion
authorBen Hutchings <ben@decadent.org.uk>
Tue, 31 Jan 2017 00:18:44 +0000 (00:18 +0000)
committerJonathan Corbet <corbet@lwn.net>
Mon, 6 Feb 2017 16:03:50 +0000 (09:03 -0700)
commit04b709117271d9f2f09cfeca09c34f63863beafe
treed84f6481a0d9d26746f4d0b40e2e35a21bfb47aa
parent85bd9020d86bf51f9c300225d0c4d7d1b5aa9e48
doc-rst: Delete output of failed dot-SVG conversion

As we use redirection to create the SVG file, even a failed conversion
will create the file and 'make' will consider it up-to-date if the
build is retried.  We should delete it in case of failure.

Fixes: ec868e4ee2bc ("docs-rst: media: build SVG from graphviz files")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/media/Makefile