summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-01 00:26:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-01 00:26:34 +0000
commit89464e5e3f7d3bdfb80bea82192437871466a8d1 (patch)
treecf7989a1dd7b85d7c9119e0fced5946d735477f6
parentc07e3b34d7a802bdc1ce6090544c88e56ff25fa1 (diff)
downloadmtk-20170518-89464e5e3f7d3bdfb80bea82192437871466a8d1.zip
mtk-20170518-89464e5e3f7d3bdfb80bea82192437871466a8d1.tar.gz
mtk-20170518-89464e5e3f7d3bdfb80bea82192437871466a8d1.tar.bz2
clean up quagga ipkg dirs
SVN-Revision: 500
-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 e78f6f5..81008f0 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