Merge pull request #2421 from SibrenVasse/ssid_format
[oweals/luci.git] / modules / luci-base / Makefile
index 5c38d99c589621dbaa00aad78afcd6c814d54afc..9bc8ec17a173fb5d574aea10abce595e558a4b51 100644 (file)
@@ -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))