#! /usr/bin/make -f
-arch = $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
+DH_OPTIONS = --parallel -Bdebian/build
-%:; dh $@ --parallel
+%:; dh $@ $(DH_OPTIONS)
-override_dh_auto_install:
- dh_auto_install --parallel -- \
- prefix=/usr mandir=/usr/share/man \
- libdir=/usr/lib/$(arch) \
- DESTDIR=debian/tmp
+override_dh_auto_configure:
+ dh_auto_configure $(DH_OPTIONS) -- \
+ $(shell dpkg-buildflags --export=configure)