rules.real: Update for usbip userspace in tools/usb/usbip

svn path=/dists/trunk/linux-tools/; revision=21952
This commit is contained in:
Ben Hutchings 2014-10-17 11:04:19 +00:00
parent 90fbb64333
commit 8e93bf1ffa
1 changed files with 2 additions and 2 deletions

4
debian/rules.real vendored
View File

@ -63,12 +63,12 @@ install-tools: $(STAMPS_DIR)/build
install-usbip: DH_OPTIONS = -plibusbip-dev -pusbip
install-usbip: DIR = $(CURDIR)/debian/tmp
install-usbip: override VERSION := $(shell sed -ne 's,^#define PACKAGE_VERSION "\(.*\)"$$,\1,p' $(BUILD_DIR)/drivers/staging/usbip/userspace/config.h)
install-usbip: override VERSION := $(shell sed -ne 's,^#define PACKAGE_VERSION "\(.*\)"$$,\1,p' $(BUILD_DIR)/tools/usb/usbip/config.h)
install-usbip: $(STAMPS_DIR)/build
dh_testdir
dh_testroot
dh_clean -k -d
$(MAKE) -C $(BUILD_DIR)/drivers/staging/usbip install top_srcdir=$(CURDIR) DESTDIR=$(DIR)
$(MAKE) -C $(BUILD_DIR)/tools/usb/usbip install top_srcdir=$(CURDIR) DESTDIR=$(DIR)
dh_install
dh_installchangelogs
dh_installdocs