]> git.baikalelectronics.ru Git - kernel.git/commit
[media] DocBook/media/Makefile: Do not fail mkdir if dir already exists
authorGraham Whaley <graham.whaley@linux.intel.com>
Thu, 12 Nov 2015 20:51:51 +0000 (18:51 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 17 Nov 2015 08:47:19 +0000 (06:47 -0200)
commit4c525b625a517813f58f564a722c56ed53977d98
treedd64b72bb2310e4f134755297484ddebca159ad5
parentc2a18c3b1296a7d7f222b66e20ba55a5ee11ebd0
[media] DocBook/media/Makefile: Do not fail mkdir if dir already exists

Commit 72112a118fd3 ("[media] DocBook/media/Makefile: Avoid make htmldocs
to fail") introduced a mkdir which is always called through
install_media_images from the Documentation/DocBook/Makefile htmldocs rule.
If you run 'make htmldocs' more than once you get:

 mkdir: cannot create directory ‘./Documentation/DocBook//media_api’:
  File exists

Add -p to the mkdir to continue no matter if the dir already exists.

Signed-off-by: Graham Whaley <graham.whaley@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/DocBook/media/Makefile