Documentation: fix DOCBOOKS=... building
authorJohannes Berg <[email protected]>
Thu, 22 May 2014 18:54:23 +0000 (11:54 -0700)
committerLinus Torvalds <[email protected]>
Fri, 23 May 2014 16:37:30 +0000 (09:37 -0700)
commite60cbeedc48d80689c249ab5dcc3c31ad0452dea
tree4f9e655f4d706eb89cbc0b07befe13b946afd927
parent66db6cfd49825f4e3462ceee3bcbb292d57da6fb
Documentation: fix DOCBOOKS=... building

Prior to commit 4266129964b8 ("[media] DocBook: Move all media docbook
stuff into its own directory") it was possible to build only a single
(or more) book(s) by calling, for example

    make htmldocs DOCBOOKS=80211.xml

This now fails:

    cp: target `.../Documentation/DocBook//media_api' is not a directory

Ignore errors from that copy to make this possible again.

Fixes: 4266129964b8 ("[media] DocBook: Move all media docbook stuff into its own directory")
Signed-off-by: Johannes Berg <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/DocBook/media/Makefile