bootstrap: install production files only
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
9f252bcc3a
commit
efa0afe08a
@ -14,8 +14,13 @@ define BOOTSTRAP_EXTRACT_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define BOOTSTRAP_INSTALL_TARGET_CMDS
|
define BOOTSTRAP_INSTALL_TARGET_CMDS
|
||||||
mkdir -p $(TARGET_DIR)/var/www/bootstrap
|
$(INSTALL) -m 0644 -D $(@D)/dist/css/bootstrap-theme.min.css \
|
||||||
cp -dpfr $(@D)/dist/* $(TARGET_DIR)/var/www/bootstrap
|
$(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
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
Reference in New Issue
Block a user