From 47dff09e22d601a9efe65b4e25b06d1d3a1f1926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 15 Jan 2015 03:49:37 +0100 Subject: Fix regeneration of automake build system on Debian and Ubuntu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- debian/squeeze/applications/potracegui/debian/rules | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'debian/squeeze/applications/potracegui') diff --git a/debian/squeeze/applications/potracegui/debian/rules b/debian/squeeze/applications/potracegui/debian/rules index 4b268883c..2f8675d9f 100755 --- a/debian/squeeze/applications/potracegui/debian/rules +++ b/debian/squeeze/applications/potracegui/debian/rules @@ -40,7 +40,13 @@ config.status: ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in - +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub admin/config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess admin/config.guess +endif + make -f admin/Makefile.common cvs dh_testdir @@ -61,16 +67,9 @@ clean: rm -f build-stamp [ ! -f Makefile ] || $(MAKE) distclean -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif rm -f po/*.gmo - dh_clean --exclude ./src/potracegui.cpp.orig install: build -- cgit v1.2.1