File: rules

package info (click to toggle)
pcsc-lite 1.8.20-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,576 kB
  • ctags: 2,043
  • sloc: ansic: 13,537; sh: 4,638; python: 735; lex: 599; makefile: 203
file content (17 lines) | stat: -rwxr-xr-x 531 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with systemd,autoreconf --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