File: rules

package info (click to toggle)
libevdev 1.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,516 kB
  • ctags: 1,563
  • sloc: sh: 14,301; ansic: 7,744; makefile: 179; python: 163
file content (26 lines) | stat: -rwxr-xr-x 591 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
#!/usr/bin/make -f
# -*- makefile -*-

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

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

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

%:
	dh $@  --with autoreconf

override_dh_auto_test:
# Tests must be run as root

override_dh_auto_configure:
	dh_auto_configure -- --disable-silent-rules

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

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