From efa0afe08ab0ef06277196d7a0acb9d75e5e9312 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Tue, 13 Jan 2015 00:30:37 +0100 Subject: [PATCH] bootstrap: install production files only Signed-off-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- package/bootstrap/bootstrap.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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)) -- 2.30.2