From: Felix Fietkau Date: Sun, 29 Jun 2008 00:06:42 +0000 (+0000) Subject: better excludes for the local tree copy X-Git-Tag: 0.8.0~736 X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=c99752055aef7f85fbc4bd575a51e005fc0d119a;p=project%2Fluci.git better excludes for the local tree copy --- diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index 6c9250419..54cb7fbf4 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -36,7 +36,11 @@ include $(INCLUDE_DIR)/package.mk ifeq ($(USELOCAL),1) define Build/Prepare mkdir -p $(PKG_BUILD_DIR) - $(TAR) c -C ../../../ . --exclude=.pc --exclude='boa-0*' --exclude=.svn --exclude=.git --exclude='*.o' | tar x -C $(PKG_BUILD_DIR)/ + $(TAR) c -C ../../../ . \ + --exclude=.pc --exclude=.svn --exclude=.git \ + --exclude='boa-0*' --exclude='*.o' --exclude='*.so' \ + --exclude=dist | \ + tar x -C $(PKG_BUILD_DIR)/ endef endif