X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=modules%2Fluci-base%2FMakefile;h=9bc8ec17a173fb5d574aea10abce595e558a4b51;hb=1828af98279369d9eb3ee1e113c7b544a907b3c6;hp=5c38d99c589621dbaa00aad78afcd6c814d54afc;hpb=5c07c6fff37a9b363adb9be1c5bd29db44a1ad88;p=oweals%2Fluci.git diff --git a/modules/luci-base/Makefile b/modules/luci-base/Makefile index 5c38d99c5..9bc8ec17a 100644 --- a/modules/luci-base/Makefile +++ b/modules/luci-base/Makefile @@ -36,14 +36,16 @@ define Host/Configure endef define Host/Compile - $(MAKE) -C src/ clean po2lmo - $(MAKE) -C $(HOST_BUILD_DIR) bin/luasrcdiet + $(MAKE) -C src/ clean po2lmo jsmin endef define Host/Install $(INSTALL_DIR) $(1)/bin + $(INSTALL_DIR) $(1)/lib/lua/5.1 $(INSTALL_BIN) src/po2lmo $(1)/bin/po2lmo + $(INSTALL_BIN) src/jsmin $(1)/bin/jsmin $(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/luasrcdiet $(1)/bin/luasrcdiet + $(CP) $(HOST_BUILD_DIR)/luasrcdiet $(1)/lib/lua/5.1/ endef $(eval $(call HostBuild))