better excludes for the local tree copy
authorFelix Fietkau <nbd@openwrt.org>
Sun, 29 Jun 2008 00:06:42 +0000 (00:06 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 29 Jun 2008 00:06:42 +0000 (00:06 +0000)
contrib/package/luci/Makefile

index 6c92504195c5e5de8ac1d6bae4471aa63e7f04a0..54cb7fbf42c8d3e55e937ac25005629f823a952d 100644 (file)
@@ -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