diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2015-01-13 00:30:37 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-01-14 16:48:56 +0100 |
commit | efa0afe08ab0ef06277196d7a0acb9d75e5e9312 (patch) | |
tree | 8326d12592244308ec479cacca37207d99475087 /package/bootstrap | |
parent | 9f252bcc3a761a4be8550638ac128834f36fab9f (diff) |
bootstrap: install production files only
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/bootstrap')
-rw-r--r-- | package/bootstrap/bootstrap.mk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/package/bootstrap/bootstrap.mk b/package/bootstrap/bootstrap.mk index 1bf8aa23a..1a1c4f1d7 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)) |