From 8d0330b70fdf7a36185cec6451c7d5094f4a1ff0 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 22 May 2012 08:17:53 +0200 Subject: use autoreconf.mk instead of calling dh_autoreconf by hand - fixes FTBFS when there are multiple Python versions (dh_autoreconf would be called multiple times in this case, which isn't allowed) - properly cleans autoreconf'ed files in the clean target - patchsys-quilt.mk needs to be included *before* autoreconf.mk or debhelper will leave uncleaned files in debian/, leading to E: libappindicator source: temporary-debhelper-file python-appindicator.debhelper.log and 9 others from lintian --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 65a2860..666d331 100755 --- a/debian/rules +++ b/debian/rules @@ -8,10 +8,11 @@ PY_VERSIONS = $(shell pyversions --requested debian/control) export MONO_SHARED_DIR=$(CURDIR) export CSC=/usr/bin/mono-csc +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/gnome.mk include /usr/share/cdbs/1/rules/utils.mk -include /usr/share/cdbs/1/rules/patchsys-quilt.mk API_VERSION = 0.1 @@ -20,7 +21,6 @@ API_VERSION = 0.1 DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper --enable-gtk-doc --enable-introspection configure-stamp-%: - dh_autoreconf mkdir build-$* cd build-$* && PYTHON=`which $*` \ $(DEB_CONFIGURE_SCRIPT) $(DEB_CONFIGURE_NORMAL_ARGS) --srcdir=.. -- cgit v1.2.3