From 26501b6781cc3a4c92c400a08fd9f2cabaded161 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 27 Dec 2016 14:20:17 +0100 Subject: Fix enablement of usb interface; Drop both dh-autoreconf/dh-systemd --- debian/rules | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index d8256c4..5bb138a 100755 --- a/debian/rules +++ b/debian/rules @@ -13,14 +13,15 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all # Platform-specific features DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) -ifneq ($(DEB_HOST_ARCH_OS),linux) +ifeq ($(DEB_HOST_ARCH_OS),linux) # USB implementation is Linux-specific + extra_config_opts += --enable-intf-usb +else extra_config_opts += --disable-intf-usb endif - %: - dh $@ --with systemd,autoreconf + dh $@ override_dh_auto_install: dh_auto_install -- cgit v1.2.3