From: Nicolas Thill Date: Tue, 24 May 2005 00:44:43 +0000 (+0000) Subject: Fix uninstall-dev: remove libusb-config lib, remove all libusb-* shared libs X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6d555f7cc6fb12387a5fff090f0e12e6c4993c1d;p=openwrt%2Fstaging%2Fnbd.git Fix uninstall-dev: remove libusb-config lib, remove all libusb-* shared libs SVN-Revision: 1039 --- diff --git a/openwrt/package/libusb/Makefile b/openwrt/package/libusb/Makefile index 9420cb6da8..8d22a43f7a 100644 --- a/openwrt/package/libusb/Makefile +++ b/openwrt/package/libusb/Makefile @@ -72,13 +72,15 @@ $(STAGING_DIR)/usr/lib/libusb.so: $(PKG_BUILD_DIR)/.libs/libusb.so cp -fpR $(PKG_INSTALL_DIR)/usr/include/usb.h $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libusb*.{a,so*} $(STAGING_DIR)/usr/lib/ - touch $(STAGING_DIR)/usr/lib/libusb.so + touch $@ install-dev: $(STAGING_DIR)/usr/lib/libusb.so uninstall-dev: - rm -rf $(STAGING_DIR)/usr/include/usb.h - rm -rf $(STAGING_DIR)/usr/lib/libusb.{a,so*} + rm -rf \ + $(STAGING_DIR)/usr/bin/libusb-config \ + $(STAGING_DIR)/usr/include/usb.h \ + $(STAGING_DIR)/usr/lib/libusb*.{a,so*} \ compile: install-dev clean: uninstall-dev