|
@@ -1,6 +1,6 @@
|
|
--- a/include/package.mk
|
|
--- a/include/package.mk
|
|
+++ b/include/package.mk
|
|
+++ b/include/package.mk
|
|
-@@ -307,6 +307,21 @@ endif
|
|
|
|
|
|
+@@ -309,6 +309,21 @@ endif
|
|
$(if $(PKG_HOST_ONLY),,$(call Build/DefaultTargets,$(1)))
|
|
$(if $(PKG_HOST_ONLY),,$(call Build/DefaultTargets,$(1)))
|
|
endef
|
|
endef
|
|
|
|
|
|
@@ -22,11 +22,17 @@
|
|
define pkg_install_files
|
|
define pkg_install_files
|
|
$(foreach install_file,$(1),$(INSTALL_DIR) $(3)/`dirname $(install_file)`; $(INSTALL_DATA) $(2)/$(install_file) $(3)/`dirname $(install_file)`;)
|
|
$(foreach install_file,$(1),$(INSTALL_DIR) $(3)/`dirname $(install_file)`; $(INSTALL_DATA) $(2)/$(install_file) $(3)/`dirname $(install_file)`;)
|
|
endef
|
|
endef
|
|
-@@ -353,3 +368,96 @@ dist:
|
|
|
|
|
|
+@@ -355,3 +370,102 @@ dist:
|
|
|
|
|
|
distcheck:
|
|
distcheck:
|
|
$(Build/DistCheck)
|
|
$(Build/DistCheck)
|
|
+
|
|
+
|
|
|
|
++ifndef Package/$(PKG_NAME)/conffiles
|
|
|
|
++define Package/$(PKG_NAME)/conffiles
|
|
|
|
++/etc/config/
|
|
|
|
++endef
|
|
|
|
++endif
|
|
|
|
++
|
|
+LUCI_NAME?=$(notdir ${CURDIR})
|
|
+LUCI_NAME?=$(notdir ${CURDIR})
|
|
+LUCI_TYPE?=$(word 2,$(subst -, ,$(LUCI_NAME)))
|
|
+LUCI_TYPE?=$(word 2,$(subst -, ,$(LUCI_NAME)))
|
|
+LUCI_BASENAME?=$(patsubst luci-$(LUCI_TYPE)-%,%,$(LUCI_NAME))
|
|
+LUCI_BASENAME?=$(patsubst luci-$(LUCI_TYPE)-%,%,$(LUCI_NAME))
|
|
@@ -118,4 +124,4 @@
|
|
+endef
|
|
+endef
|
|
+
|
|
+
|
|
+ $(foreach lang,$(LUCI_LANGUAGES),$(eval $(call LuciTranslation,$(firstword $(LUCI_LC_ALIAS.$(lang)) $(lang)),$(lang))))
|
|
+ $(foreach lang,$(LUCI_LANGUAGES),$(eval $(call LuciTranslation,$(firstword $(LUCI_LC_ALIAS.$(lang)) $(lang)),$(lang))))
|
|
-+ $(foreach pkg,$(LUCI_LANG_PACKAGES),$(eval $(call BuildPackage1,$(pkg))))
|
|
|
|
|
|
++ $(foreach pkg,$(LUCI_LANG_PACKAGES),$(eval $(call BuildPackage1,$(pkg))))
|