Fix uninstall-dev: remove libusb-config lib, remove all libusb-* shared libs

SVN-Revision: 1039
This commit is contained in:
Nicolas Thill 2005-05-24 00:44:43 +00:00
parent 7c7d2568df
commit 6d555f7cc6

View file

@ -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/ cp -fpR $(PKG_INSTALL_DIR)/usr/include/usb.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib mkdir -p $(STAGING_DIR)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libusb*.{a,so*} $(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 install-dev: $(STAGING_DIR)/usr/lib/libusb.so
uninstall-dev: uninstall-dev:
rm -rf $(STAGING_DIR)/usr/include/usb.h rm -rf \
rm -rf $(STAGING_DIR)/usr/lib/libusb.{a,so*} $(STAGING_DIR)/usr/bin/libusb-config \
$(STAGING_DIR)/usr/include/usb.h \
$(STAGING_DIR)/usr/lib/libusb*.{a,so*} \
compile: install-dev compile: install-dev
clean: uninstall-dev clean: uninstall-dev