[Buildroot] [PATCH 1/1] jquery-mobile : new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Mar 5 19:20:25 UTC 2014


Dear Sagaert Johan,

On Sun,  2 Mar 2014 18:34:06 +0100, Sagaert Johan wrote:
> jQuery Mobile is a HTML5-based user interface system designed to make
> responsive web sites and apps that are accessible on all smartphone,
> tablet and desktop devices.
> 
> Signed-off-by: Sagaert Johan <sagaert.johan at skynet.be>

This looks good, except one thing:

> +ifeq ($(BR2_PACKAGE_JQUERY_MOBILE_DEMOS),y)
> +define JQUERY_MOBILE_INSTALL_DEMOS
> +	mkdir -p $(TARGET_DIR)/var/www/demos
> +	cp -r $(@D)/demos/* $(TARGET_DIR)/var/www/demos
> +	$(INSTALL) -m 0644 -D $(@D)/demos/index.html $(TARGET_DIR)/var/www/demo.html

Does this work? I mean the index.html file in the demos/ directory is
meant to stay there: it has relative paths to the subdirectories in the
demos/ directory. So if you move only this file from /var/www/demos
to /var/www I'm not sure to understand how it can work.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list