Re: [PATCH] Documentation: fix DOCBOOKS=... building

From: Randy Dunlap
Date: Fri Jul 27 2012 - 18:30:11 EST


On 06/13/2012 01:43 AM, Johannes Berg wrote:

> From: Johannes Berg <johannes.berg@xxxxxxxxx>
>
> Prior to
> commit 4266129964b8238526936d723de65b419d8069c6
> Author: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> Date: Tue May 31 16:27:44 2011 -0300
>
> [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.
>
> Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> ---
> I complained about this a long time ago, but now it finally bothered me
> enough to fix it ... :-)


Thanks.

Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Mauro??


>
> Documentation/DocBook/media/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/Documentation/DocBook/media/Makefile 2012-06-13 10:39:58.000000000 +0200
> +++ b/Documentation/DocBook/media/Makefile 2012-06-13 10:40:05.000000000 +0200
> @@ -195,7 +195,7 @@ DVB_DOCUMENTED = \
> #
>
> install_media_images = \
> - $(Q)cp $(OBJIMGFILES) $(MEDIA_SRC_DIR)/v4l/*.svg $(MEDIA_OBJ_DIR)/media_api
> + $(Q)-cp $(OBJIMGFILES) $(MEDIA_SRC_DIR)/v4l/*.svg $(MEDIA_OBJ_DIR)/media_api
>
> $(MEDIA_OBJ_DIR)/%: $(MEDIA_SRC_DIR)/%.b64
> $(Q)base64 -d $< >$@
>
>



--
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/