summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-01 00:26:34 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-01 00:26:34 +0000
commitde4d9aef546185e35be7c0efaf3565624450c2ab (patch)
treecf7989a1dd7b85d7c9119e0fced5946d735477f6
parentf6c83fd28fcb57779662b2b14bf071cfc578057d (diff)
clean up quagga ipkg dirs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@500 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/quagga/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/openwrt/package/quagga/Makefile b/openwrt/package/quagga/Makefile
index e78f6f5b6..81008f06b 100644
--- a/openwrt/package/quagga/Makefile
+++ b/openwrt/package/quagga/Makefile
@@ -96,6 +96,7 @@ $(PKG_IPK_DIR)/zebra: $(PKG_BUILD_DIR)/.configured
$(PKG_IPK): $(PKG_IPK_DIR)/zebra
cp -a ./ipkg/* $(PKG_IPK_DIR)/
+ find $(PKG_IPK_DIR) -name CVS | xargs rm -rf
$(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_IPK_DIR) control/$(PKG_NAME).control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
mkdir -p $(PKG_IPK_DIR)/usr/sbin
mkdir -p $(PKG_IPK_DIR)/usr/lib
@@ -117,6 +118,7 @@ $(PKG_ZEBRA): $(PKG_IPK_DIR)/zebra
mkdir -p $(PKG_ZEBRA_DIR)/usr/sbin
mkdir -p $(PKG_ZEBRA_DIR)/usr/lib
cp -a ./ipkg/* $(PKG_ZEBRA_DIR)/
+ find $(PKG_ZEBRA_DIR) -name CVS | xargs rm -rf
$(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_ZEBRA_DIR) control/$(PKG_NAME)-zebra.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
cp $(PKG_IPK_DIR)/usr/sbin/zebra $(PKG_ZEBRA_DIR)/usr/sbin
cp $(PKG_IPK_DIR)/usr/lib/libzebra* $(PKG_ZEBRA_DIR)/usr/lib
@@ -129,6 +131,7 @@ $(PKG_BGPD): $(PKG_IPK_DIR)/zebra
mkdir -p $(PKG_BGPD_DIR)/etc/quagga
mkdir -p $(PKG_BGPD_DIR)/usr/sbin
cp -a ./ipkg/* $(PKG_BGPD_DIR)/
+ find $(PKG_BGPD_DIR) -name CVS | xargs rm -rf
$(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_BGPD_DIR) control/$(PKG_NAME)-bgpd.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
cp $(PKG_IPK_DIR)/usr/sbin/bgpd $(PKG_BGPD_DIR)/usr/sbin
$(IPKG_BUILD) $(PKG_BGPD_DIR) $(PACKAGE_DIR)
@@ -140,6 +143,7 @@ $(PKG_RIPD): $(PKG_IPK_DIR)/zebra
mkdir -p $(PKG_RIPD_DIR)/etc/quagga
mkdir -p $(PKG_RIPD_DIR)/usr/sbin
cp -a ./ipkg/* $(PKG_RIPD_DIR)/
+ find $(PKG_RIPD_DIR) -name CVS | xargs rm -rf
$(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_RIPD_DIR) control/$(PKG_NAME)-ripd.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
cp $(PKG_IPK_DIR)/usr/sbin/ripd $(PKG_RIPD_DIR)/usr/sbin
$(IPKG_BUILD) $(PKG_RIPD_DIR) $(PACKAGE_DIR)
@@ -152,6 +156,7 @@ $(PKG_OSPFD): $(PKG_IPK_DIR)/zebra
mkdir -p $(PKG_OSPFD_DIR)/usr/sbin
mkdir -p $(PKG_OSPFD_DIR)/usr/lib
cp -a ./ipkg/* $(PKG_OSPFD_DIR)/
+ find $(PKG_OSPFD_DIR) -name CVS | xargs rm -rf
$(SCRIPT_DIR)/make-ipkg-dir.sh $(PKG_OSPFD_DIR) control/$(PKG_NAME)-ospfd.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
cp $(PKG_IPK_DIR)/usr/sbin/ospfd $(PKG_OSPFD_DIR)/usr/sbin
cp $(PKG_IPK_DIR)/usr/lib/libospf* $(PKG_OSPFD_DIR)/usr/lib