From: Yegor Yefremov Date: Mon, 12 Jan 2015 23:30:37 +0000 (+0100) Subject: bootstrap: install production files only X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efa0afe08ab0ef06277196d7a0acb9d75e5e9312;p=buildroot.git bootstrap: install production files only Signed-off-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- diff --git a/package/bootstrap/bootstrap.mk b/package/bootstrap/bootstrap.mk index 1bf8aa23a1..1a1c4f1d77 100644 --- a/package/bootstrap/bootstrap.mk +++ b/package/bootstrap/bootstrap.mk @@ -14,8 +14,13 @@ define BOOTSTRAP_EXTRACT_CMDS endef define BOOTSTRAP_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/var/www/bootstrap - cp -dpfr $(@D)/dist/* $(TARGET_DIR)/var/www/bootstrap + $(INSTALL) -m 0644 -D $(@D)/dist/css/bootstrap-theme.min.css \ + $(TARGET_DIR)/var/www/bootstrap/css/bootstrap-theme.min.css + $(INSTALL) -m 0644 -D $(@D)/dist/css/bootstrap.min.css \ + $(TARGET_DIR)/var/www/bootstrap/css/bootstrap.min.css + $(INSTALL) -m 0644 -D $(@D)/dist/js/bootstrap.min.js \ + $(TARGET_DIR)/var/www/bootstrap/js/bootstrap.min.js + cp -r $(@D)/dist/fonts $(TARGET_DIR)/var/www/bootstrap/ endef $(eval $(generic-package))