In Ubuntu, we've applied the attached patch to achieve the following:
* debian/control, debian/rules: - Build using dh-autoreconf. We thought you might be interested in doing the same.
diff -Nru wmnut-0.64/debian/control wmnut-0.64/debian/control --- wmnut-0.64/debian/control 2012-06-01 12:50:45.000000000 +0000 +++ wmnut-0.64/debian/control 2013-12-30 10:22:01.000000000 +0000 @@ -2,7 +2,7 @@ Section: x11 Priority: optional Maintainer: Arnaud Quette <aque...@debian.org> -Build-Depends: debhelper (>= 9), libx11-dev, libxext-dev, libxpm-dev, x11proto-core-dev, libupsclient-dev (>= 2.4.0), pkg-config +Build-Depends: debhelper (>= 9), libx11-dev, libxext-dev, libxpm-dev, x11proto-core-dev, libupsclient-dev (>= 2.4.0), pkg-config, dh-autoreconf Standards-Version: 3.9.3 Homepage: http://wmnut.mgeops.org/ diff -Nru wmnut-0.64/debian/rules wmnut-0.64/debian/rules --- wmnut-0.64/debian/rules 2012-06-01 13:01:11.000000000 +0000 +++ wmnut-0.64/debian/rules 2013-12-30 10:21:51.000000000 +0000 @@ -21,15 +21,17 @@ INSTALL_PROGRAM += -s endif -config.status: configure +configure-stamp: dh_testdir + dh_autoreconf ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man + touch configure-stamp build-arch: build build-indep: build build: build-stamp -build-stamp: config.status +build-stamp: configure-stamp dh_testdir $(MAKE) touch build-stamp @@ -37,8 +39,9 @@ clean: dh_testdir dh_testroot - rm -f build-stamp + rm -f build-stamp configure-stamp [ ! -f Makefile ] || $(MAKE) distclean + dh_autoreconf_clean dh_clean install: build