diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-24 00:44:43 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-24 00:44:43 +0000 |
commit | 9bca75a757d78c9269276d30a73240d26f727932 (patch) | |
tree | c960b35992f740216e8ac0468c875696e352f8d6 /openwrt/package/libusb/Makefile | |
parent | 613b92a4f59f0c9993b4dc0b104a9e0a49539d8b (diff) |
Fix uninstall-dev: remove libusb-config lib, remove all libusb-* shared libs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1039 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/libusb/Makefile')
-rw-r--r-- | openwrt/package/libusb/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/openwrt/package/libusb/Makefile b/openwrt/package/libusb/Makefile index 9420cb6da..8d22a43f7 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 |