| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
DPKG_EXPORT_BUILDFLAGS = 1 |
| 4 |
include /usr/share/dpkg/buildflags.mk |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
# See https://bugs.debian.org/908017 for --enable-more-warnings |
| 10 |
override_dh_auto_configure: |
| 11 |
[ -f ./configure ] || ./autogen.sh |
| 12 |
dh_auto_configure -- \ |
| 13 |
--disable-static \ |
| 14 |
--without-libnm-glib \ |
| 15 |
--enable-more-warnings=yes |
| 16 |
|
| 17 |
override_dh_makeshlibs: |
| 18 |
dh_makeshlibs -X/usr/lib/$(DEB_HOST_MULTIARCH)/NetworkManager/ |
| 19 |
|
| 20 |
execute_before_dh_install: |
| 21 |
find debian/tmp -name '*.la' -print -delete |