File: rules

package info (click to toggle)
libevdev 1.9.1+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,644 kB
  • sloc: ansic: 9,328; sh: 4,279; makefile: 203; python: 178; xml: 171; javascript: 53
file content (31 lines) | stat: -rwxr-xr-x 733 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

include /usr/share/dpkg/architecture.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# The tests needs libpthread
export CHECK_LIBS=-lpthread $(shell $(DEB_HOST_GNU_TYPE)-pkg-config --libs check)

# doxygen version
doxygen_version := $(shell dpkg-query -W -f="\$${source:Version}\n" doxygen)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --disable-silent-rules PYTHON=/usr/bin/python3

override_dh_gencontrol:
	dh_gencontrol -- -Vdoxygen:Version=$(doxygen_version)

override_dh_makeshlibs:
	dh_makeshlibs --add-udeb=libevdev2-udeb

override_dh_installdocs-indep:
	dh_installdocs -i
	dh_doxygen -plibevdev-doc