16 lines
471 B
Makefile
Executable File
16 lines
471 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
|
|
ifeq ($(DEB_HOST_ARCH_OS),hurd)
|
|
EXTRA_CONFIGURE_ARGS += --disable-usb
|
|
endif
|
|
|
|
%:
|
|
dh $@ --with=systemd --parallel
|
|
|
|
override_dh_auto_configure:
|
|
dh_auto_configure -- $(EXTRA_CONFIGURE_ARGS) --with-systemdsystemunitdir=/lib/systemd/system --enable-usbdropdir=/usr/lib/pcsc/drivers $(shell dpkg-buildflags --export=configure)
|
|
|
|
override_dh_strip:
|
|
dh_strip --dbg-package=libpcsclite1-dbg
|