Documentation: fix DOCBOOKS=... building
authorJohannes Berg <johannes.berg@intel.com>
Thu, 22 May 2014 18:54:23 +0000 (11:54 -0700)
committerJiri Slaby <jslaby@suse.cz>
Fri, 20 Jun 2014 15:33:53 +0000 (17:33 +0200)
commit4552eb241957702f9bc1309dba4d936629c5f0c7
tree2b0edee2ec7d50eb9db2c263940f210f687d3e18
parent191df2f25cf91a4e3adeb3e230d3323e7f1b6606
Documentation: fix DOCBOOKS=... building

commit e60cbeedc48d80689c249ab5dcc3c31ad0452dea upstream.

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 <johannes.berg@intel.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Documentation/DocBook/media/Makefile