Update debhelper compatibility level to 7 and use dh
[fmit.git] / debian / rules
1 #!/usr/bin/make -f
2
3 # Disable Alsa on non-Linux architectures
4 ifneq (,$(findstring $(DEB_HOST_ARCH_OS), kfreebsd hurd))
5         DEB_CONFIGURE_ALSA = --disable-alsa
6 else
7         DEB_CONFIGURE_ALSA = --enable-alsa
8 endif
9
10 %:
11         dh $@
12
13 override_dh_auto_configure:
14         dh_auto_configure -- --with-Qt-dir=/usr/share/qt3 $(DEB_CONFIGURE_ALSA)