summaryrefslogtreecommitdiffhomepage
path: root/contrib/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-29 00:06:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-29 00:06:42 +0000
commitc99752055aef7f85fbc4bd575a51e005fc0d119a (patch)
treed5bd227908ff426a7604d3332b6c7fa82f0d93ca /contrib/package
parent533d8dee9d7d0dad8443c6393886dc984b9d3c70 (diff)
better excludes for the local tree copy
Diffstat (limited to 'contrib/package')
-rw-r--r--contrib/package/luci/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile
index 6c92504195..54cb7fbf42 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