From d1c1423eba88005445378eb9bf2fc774e4c128dc Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 28 Jan 2015 22:29:03 +0100 Subject: [PATCH] build: remove *.luadoc files before packaging --- luci.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/luci.mk b/luci.mk index 0aba5c5ae..ab09f0f4f 100644 --- a/luci.mk +++ b/luci.mk @@ -147,6 +147,7 @@ define Package/$(PKG_NAME)/install if [ -d $(PKG_BUILD_DIR)/luasrc ]; then \ $(INSTALL_DIR) $(1)$(LUCI_LIBRARYDIR); \ cp -pR $(PKG_BUILD_DIR)/luasrc/* $(1)$(LUCI_LIBRARYDIR)/; \ + $(FIND) $(1)$(LUCI_LIBRARYDIR)/ -type f -name '*.luadoc' | $(XARGS) rm; \ $(if $(CONFIG_LUCI_SRCDIET),$(call SrcDiet,$(1)$(LUCI_LIBRARYDIR)/),true); \ else true; fi if [ -d $(PKG_BUILD_DIR)/htdocs ]; then \ -- 2.11.0