From 3a30e3c8eb7bbd9eb3807536edeaff34be92f814 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Wed, 16 Jan 2013 00:36:57 +0000 Subject: debian/rules: - Use dh_autoreconf instead of calling autoreconf before the configure. - Properly purge the symlink to gnome-doc-utils.make once the build's completed. --- debian/control | 2 +- debian/rules | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/debian/control b/debian/control index fd5e990..ea9fc33 100644 --- a/debian/control +++ b/debian/control @@ -4,8 +4,8 @@ Priority: optional Maintainer: Alessio Treglia Standards-Version: 3.9.4 Build-Depends: - autotools-dev, debhelper (>= 9~), + dh-autoreconf, gnome-common, gnome-pkg-tools (>= 0.10), intltool, diff --git a/debian/rules b/debian/rules index 67fa7e8..7abb6da 100755 --- a/debian/rules +++ b/debian/rules @@ -8,17 +8,21 @@ export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) LDFLAGS+=-Wl,--as-needed %: - dh $@ --with scour + dh $@ --with=autoreconf,scour # Fixes FTBFS override_dh_auto_test: # Autoreconf due to 01_lpi.patch -override_dh_auto_configure: +override_dh_autoreconf: [ -e gnome-doc-utils.make ] || \ ln -s /usr/share/gnome-doc-utils/gnome-doc-utils.make - autoreconf -f -i -s - dh_auto_configure + dh_autoreconf + +override_dh_auto_clean: + dh_auto_clean + [ ! -h gnome-doc-utils.make ] || \ + rm gnome-doc-utils.make override_dh_auto_build: cd po; intltool-update -p -- cgit v1.2.3