From 47dff09e22d601a9efe65b4e25b06d1d3a1f1926 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
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 <slavek.banko@axis.cz>
---
 debian/lenny/libraries/libksquirrel/debian/rules | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'debian/lenny/libraries')

diff --git a/debian/lenny/libraries/libksquirrel/debian/rules b/debian/lenny/libraries/libksquirrel/debian/rules
index f5bc572dc..3acf1adef 100755
--- a/debian/lenny/libraries/libksquirrel/debian/rules
+++ b/debian/lenny/libraries/libksquirrel/debian/rules
@@ -36,17 +36,17 @@ configure:
 	! [ -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
-	
-	make -f admin/Makefile.common cvs
-	touch debian/stamp-bootstrap
-
-	# Add here commands to configure the package.
 ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub 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 config.guess
+	cp -f /usr/share/misc/config.guess admin/config.guess
 endif
+
+	make -f admin/Makefile.common cvs
+	touch debian/stamp-bootstrap
+
+	# Add here commands to configure the package.
 	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/opt/trinity --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --disable-rpath 
 # Tricks for Intrepid
 #--disable-kexif --enable-mt --x-includes=/usr/include/qt4/Qt
-- 
cgit v1.2.1