blob: 2fa57078880eebf7d407867198d2eee9e11bdbbe (
plain)
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
|
#!/usr/bin/make -f
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs -Wl,--as-needed
%:
dh $@ --with autoreconf,gir
override_dh_autoreconf:
dh_autoreconf --as-needed
override_dh_auto_configure:
dh_auto_configure -- \
--libexecdir=/usr/lib/NetworkManager \
--disable-more-warnings \
--enable-introspection \
--with-wwan
override_dh_install:
find debian/tmp -name '*.a' -delete
find debian/tmp -name '*.la' -delete
dh_install --fail-missing
override_dh_auto_test:
ifeq (, $(filter nocheck, $(DEB_BUILD_OPTIONS)))
make check || ( find . -name test-suite.log -exec cat {} \;; exit 1; )
endif
|