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 --- ubuntu/maverick/applications/knowit/debian/rules | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'ubuntu/maverick/applications/knowit') diff --git a/ubuntu/maverick/applications/knowit/debian/rules b/ubuntu/maverick/applications/knowit/debian/rules index 0a090fdb6..07ea32c92 100755 --- a/ubuntu/maverick/applications/knowit/debian/rules +++ b/ubuntu/maverick/applications/knowit/debian/rules @@ -25,7 +25,7 @@ else CFLAGS += -O2 endif -config.status: configure +config.status: dh_testdir ! [ -f /usr/share/libtool/ltmain.sh ] || \ @@ -33,6 +33,8 @@ config.status: 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 + cp -p /usr/share/misc/config.sub admin/config.sub + cp -p /usr/share/misc/config.guess admin/config.guess make -f admin/Makefile.common cvs touch debian/stamp-bootstrap @@ -52,16 +54,7 @@ clean: dh_testroot rm -f build-stamp - ! [ -f /usr/share/libtool/ltmain.sh ] || \ - cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh - ! [ -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 - - -$(MAKE) distclean + [ ! -f Makefile ] || $(MAKE) distclean -rm -R $(CURDIR)/admin/CVS dh_clean -- cgit v1.2.1