Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-09-10 00:33:15 +0300
committerJo-Philipp Wich <jo@mein.io>2022-10-25 02:03:37 +0300
commit22bc7ca5a42cab40e45dd893800aa0828fb1f790 (patch)
treef995a83bd548645495fe00629a997fead3c231f3 /luci.mk
parent447e362f0b56e5efdc2737899831297901736a0e (diff)
luci.mk: typo and indentation fixes
- Fix misspelled comment - Fix wrong variable in Lua SrcDiet condition - Fix wrong indentation Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'luci.mk')
-rw-r--r--luci.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/luci.mk b/luci.mk
index 7aaca0c24d..cc77b9c600 100644
--- a/luci.mk
+++ b/luci.mk
@@ -127,11 +127,11 @@ PKG_GITBRANCH?=$(if $(DUMP),x,$(strip $(shell \
include $(INCLUDE_DIR)/package.mk
-# LUCI_SUBMENU: the submenu-item below the LuCI top-level menu inside OpoenWrt menuconfig
+# LUCI_SUBMENU: the submenu-item below the LuCI top-level menu inside OpenWrt menuconfig
# usually one of the LUCI_MENU.* definitions
# LUCI_SUBMENU_DEFAULT: the regular SUBMENU defined by LUCI_TYPE or derrived from the packagename
# LUCI_SUBMENU_FORCED: manually forced value SUBMENU to set to by explicit definiton
-# can be any string, "none" disables the creation of a submenu
+# can be any string, "none" disables the creation of a submenu
# most usefull in combination with LUCI_CATEGORY, to make the package appear
# anywhere in the menu structure
LUCI_SUBMENU_DEFAULT=$(if $(LUCI_MENU.$(LUCI_TYPE)),$(LUCI_MENU.$(LUCI_TYPE)),$(LUCI_MENU.app))
@@ -221,7 +221,7 @@ endef
endif
# some generic macros that can be used by all packages
-ifeq ($(LUCI_MINIFY_JS),1)
+ifeq ($(LUCI_MINIFY_LUA),1)
define SrcDiet
$(FIND) $(1) -type f -name '*.lua' | while read src; do \
if LUA_PATH="$(STAGING_DIR_HOSTPKG)/lib/lua/5.1/?.lua" luasrcdiet --noopt-binequiv -o "$$$$src.o" "$$$$src"; \
@@ -280,8 +280,8 @@ ifeq ($(PKG_NAME),luci-base)
default y
config LUCI_CSSTIDY
- bool "Minify CSS files"
- default y
+ bool "Minify CSS files"
+ default y
menu "Translations"$(foreach lang,$(LUCI_LANGUAGES),$(if $(LUCI_LANG.$(lang)),