summaryrefslogtreecommitdiffstats
path: root/debian/squeeze
diff options
context:
space:
mode:
Diffstat (limited to 'debian/squeeze')
-rw-r--r--debian/squeeze/applications/adept/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/adept/debian/rules13
-rw-r--r--debian/squeeze/applications/amarok/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/basket/debian/rules5
-rw-r--r--debian/squeeze/applications/bibletime/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/compizconfig-backend-tdeconfig/debian/rules9
-rw-r--r--debian/squeeze/applications/digikam/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/applications/filelight/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/gtk3-tqt-engine/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/gwenview-i18n/debian/rules9
-rw-r--r--debian/squeeze/applications/gwenview/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/gwenview/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/k3b-i18n/debian/rules9
-rw-r--r--debian/squeeze/applications/k3b/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/k3b/debian/rules9
-rw-r--r--debian/squeeze/applications/k9copy/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/k9copy/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kaffeine-mozilla/debian/rules9
-rw-r--r--debian/squeeze/applications/kaffeine/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kaffeine/debian/rules9
-rw-r--r--debian/squeeze/applications/kasablanca/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kasablanca/debian/rules9
-rw-r--r--debian/squeeze/applications/katapult/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/katapult/debian/rules11
-rw-r--r--debian/squeeze/applications/kbarcode/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kbarcode/debian/rules9
-rw-r--r--debian/squeeze/applications/kbibtex/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kbibtex/debian/rules9
-rw-r--r--debian/squeeze/applications/kbiff/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kbiff/debian/rules9
-rw-r--r--debian/squeeze/applications/kbookreader/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kbookreader/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kchmviewer/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kcmautostart/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kcmldap/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kcmldapcontroller/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kcmldapmanager/debian/rules9
-rw-r--r--debian/squeeze/applications/kcpuload/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kcpuload/debian/rules9
-rw-r--r--debian/squeeze/applications/kdbg/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kdbg/debian/rules9
-rw-r--r--debian/squeeze/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kdbusnotification/debian/rules9
-rw-r--r--debian/squeeze/applications/kdiff3/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kdiff3/debian/rules9
-rw-r--r--debian/squeeze/applications/kdirstat/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kdirstat/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kdpkg/debian/rules9
-rw-r--r--debian/squeeze/applications/keep/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/keep/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kerberostray/debian/rules9
-rw-r--r--debian/squeeze/applications/kerry/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kftpgrabber/debian/rules9
-rw-r--r--debian/squeeze/applications/kile/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kile/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kima/debian/rules9
-rw-r--r--debian/squeeze/applications/kiosktool/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kiosktool/debian/rules9
-rw-r--r--debian/squeeze/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kkbswitch/debian/rules9
-rw-r--r--debian/squeeze/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/klcddimmer/debian/rules10
-rw-r--r--debian/squeeze/applications/kmplayer/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kmplayer/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kmyfirewall/debian/rules9
-rw-r--r--debian/squeeze/applications/kmymoney/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kmymoney/debian/rules9
-rw-r--r--debian/squeeze/applications/knemo/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/knemo/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/knetload/debian/rules9
-rw-r--r--debian/squeeze/applications/knetstats/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/knetstats/debian/rules9
-rw-r--r--debian/squeeze/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/knetworkmanager8/debian/rules13
-rwxr-xr-xdebian/squeeze/applications/knights/debian/rules9
-rw-r--r--debian/squeeze/applications/knmap/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/knmap/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/knowit/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/knutclient/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/koffice-i18n/debian/rules9
-rw-r--r--debian/squeeze/applications/koffice/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/applications/konversation/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/konversation/debian/rules9
-rw-r--r--debian/squeeze/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kopete-otr/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kpicosim/debian/rules9
-rw-r--r--debian/squeeze/applications/kpilot/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kpilot/debian/rules9
-rw-r--r--debian/squeeze/applications/kpowersave/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kpowersave/debian/rules9
-rw-r--r--debian/squeeze/applications/krecipes/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/krecipes/debian/rules9
-rw-r--r--debian/squeeze/applications/krename/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/krename/debian/rules9
-rw-r--r--debian/squeeze/applications/krusader/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/krusader/debian/rules9
-rw-r--r--debian/squeeze/applications/kscope/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kscope/debian/rules9
-rw-r--r--debian/squeeze/applications/ksensors/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/ksensors/debian/rules9
-rw-r--r--debian/squeeze/applications/kshowmail/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kshowmail/debian/rules9
-rw-r--r--debian/squeeze/applications/kshutdown/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kshutdown/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/ksplash-engine-moodin/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/ksquirrel/debian/rules9
-rw-r--r--debian/squeeze/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/ksystemlog/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/ktechlab/debian/rules9
-rw-r--r--debian/squeeze/applications/ktorrent/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/applications/kuickshow/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kuickshow/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kvirc/debian/rules9
-rw-r--r--debian/squeeze/applications/kvkbd/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/kvkbd/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kvpnc/debian/rules5
-rw-r--r--debian/squeeze/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/mplayerthumbs/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/piklab/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/potracegui/debian/rules9
-rw-r--r--debian/squeeze/applications/smb4k/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/smb4k/debian/rules9
-rw-r--r--debian/squeeze/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/soundkonverter/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/tde-style-lipstik/debian/rules9
-rw-r--r--debian/squeeze/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/tde-systemsettings/debian/rules9
-rw-r--r--debian/squeeze/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/tdeio-apt/debian/rules9
-rw-r--r--debian/squeeze/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/tdeio-ftps/debian/rules9
-rw-r--r--debian/squeeze/applications/tdeio-sword/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/tdeio-sword/debian/rules9
-rw-r--r--debian/squeeze/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/tdeio-umountwrapper/debian/rules9
-rw-r--r--debian/squeeze/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/tdepowersave/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/tderadio/debian/rules5
-rw-r--r--debian/squeeze/applications/tdesudo/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/tdesudo/debian/rules9
-rw-r--r--debian/squeeze/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/tdmtheme/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/tellico/debian/rules9
-rw-r--r--debian/squeeze/applications/tork/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/tork/debian/rules9
-rw-r--r--debian/squeeze/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/twin-style-crystal/debian/rules9
-rw-r--r--debian/squeeze/applications/yakuake/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/applications/yakuake/debian/rules9
-rwxr-xr-xdebian/squeeze/dependencies/libart-lgpl/debian/rules5
-rw-r--r--debian/squeeze/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/libraries/libkipi/debian/cdbs/debian-qt-kde.mk5
-rwxr-xr-xdebian/squeeze/libraries/libksquirrel/debian/rules9
-rwxr-xr-xdebian/squeeze/libraries/libtdeldap/debian/rules9
-rwxr-xr-xdebian/squeeze/libraries/libtqt-perl/debian/rules5
-rw-r--r--debian/squeeze/tdeaccessibility/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdeaddons/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdeadmin/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdeartwork/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdebindings/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdeedu/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdegames/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdegraphics/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdemultimedia/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdenetwork/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdesdk/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdetoys/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdeutils/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdevelop/debian/cdbs/debian-qt-kde.mk5
-rw-r--r--debian/squeeze/tdewebdev/debian/cdbs/debian-qt-kde.mk5
174 files changed, 1048 insertions, 177 deletions
diff --git a/debian/squeeze/applications/adept/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/adept/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/adept/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/adept/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/adept/debian/rules b/debian/squeeze/applications/adept/debian/rules
index 636c5898c..c51a46292 100755
--- a/debian/squeeze/applications/adept/debian/rules
+++ b/debian/squeeze/applications/adept/debian/rules
@@ -24,10 +24,15 @@ LDFLAGS += -L/opt/trinity/lib -lept
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -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
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/amarok/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/amarok/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/amarok/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/amarok/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/basket/debian/rules b/debian/squeeze/applications/basket/debian/rules
index 910f14149..077485094 100755
--- a/debian/squeeze/applications/basket/debian/rules
+++ b/debian/squeeze/applications/basket/debian/rules
@@ -36,7 +36,12 @@ config.status: post-patches
cp -p /usr/share/misc/config.sub admin/config.sub
cp -p /usr/share/misc/config.guess admin/config.guess
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -f admin/Makefile.common dist;
CFLAGS="$(CFLAGS)" kde_confdir=/etc/trinity ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
diff --git a/debian/squeeze/applications/bibletime/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/bibletime/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/bibletime/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/bibletime/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/rules b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/rules
index a9c52fd98..462e3d2a5 100755
--- a/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/rules
+++ b/debian/squeeze/applications/compizconfig-backend-tdeconfig/debian/rules
@@ -19,10 +19,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/digikam/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/digikam/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/digikam/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/digikam/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/filelight/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/filelight/debian/cdbs/debian-qt-kde.mk
index d81e0a12f..32ba4acfb 100644
--- a/debian/squeeze/applications/filelight/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/filelight/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/gtk3-tqt-engine/debian/rules b/debian/squeeze/applications/gtk3-tqt-engine/debian/rules
index 3233b6e36..272168641 100755
--- a/debian/squeeze/applications/gtk3-tqt-engine/debian/rules
+++ b/debian/squeeze/applications/gtk3-tqt-engine/debian/rules
@@ -17,10 +17,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/gwenview-i18n/debian/rules b/debian/squeeze/applications/gwenview-i18n/debian/rules
index 05b674469..ec8ece95d 100755
--- a/debian/squeeze/applications/gwenview-i18n/debian/rules
+++ b/debian/squeeze/applications/gwenview-i18n/debian/rules
@@ -22,10 +22,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf && automake -f && \
diff --git a/debian/squeeze/applications/gwenview/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/gwenview/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/gwenview/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/gwenview/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/gwenview/debian/rules b/debian/squeeze/applications/gwenview/debian/rules
index 2b154d9a5..da7ae8495 100755
--- a/debian/squeeze/applications/gwenview/debian/rules
+++ b/debian/squeeze/applications/gwenview/debian/rules
@@ -27,10 +27,15 @@ DEB_SHLIBDEPS_INCLUDE = debian/gwenview-trinity/opt/trinity/lib
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/k3b-i18n/debian/rules b/debian/squeeze/applications/k3b-i18n/debian/rules
index 1e6d35926..9c9661607 100755
--- a/debian/squeeze/applications/k3b-i18n/debian/rules
+++ b/debian/squeeze/applications/k3b-i18n/debian/rules
@@ -36,10 +36,15 @@ configure:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/k3b/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/k3b/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/k3b/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/k3b/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/k3b/debian/rules b/debian/squeeze/applications/k3b/debian/rules
index 18410f4b5..a0571a2de 100755
--- a/debian/squeeze/applications/k3b/debian/rules
+++ b/debian/squeeze/applications/k3b/debian/rules
@@ -23,10 +23,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/k9copy/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/k9copy/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/k9copy/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/k9copy/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/k9copy/debian/rules b/debian/squeeze/applications/k9copy/debian/rules
index 325174445..1552cad7a 100755
--- a/debian/squeeze/applications/k9copy/debian/rules
+++ b/debian/squeeze/applications/k9copy/debian/rules
@@ -21,10 +21,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kaffeine-mozilla/debian/rules b/debian/squeeze/applications/kaffeine-mozilla/debian/rules
index 456dfaaa9..51d9c565f 100755
--- a/debian/squeeze/applications/kaffeine-mozilla/debian/rules
+++ b/debian/squeeze/applications/kaffeine-mozilla/debian/rules
@@ -38,10 +38,15 @@ endif
config.status:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh ltmain.sh
+endif
aclocal
autoconf
diff --git a/debian/squeeze/applications/kaffeine/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kaffeine/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kaffeine/debian/rules b/debian/squeeze/applications/kaffeine/debian/rules
index e8ac719b1..01ea04305 100755
--- a/debian/squeeze/applications/kaffeine/debian/rules
+++ b/debian/squeeze/applications/kaffeine/debian/rules
@@ -23,10 +23,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kasablanca/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kasablanca/debian/rules b/debian/squeeze/applications/kasablanca/debian/rules
index d8f2db654..da587ae58 100755
--- a/debian/squeeze/applications/kasablanca/debian/rules
+++ b/debian/squeeze/applications/kasablanca/debian/rules
@@ -18,10 +18,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/katapult/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/katapult/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/katapult/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/katapult/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/katapult/debian/rules b/debian/squeeze/applications/katapult/debian/rules
index d227e6677..defd35a7a 100755
--- a/debian/squeeze/applications/katapult/debian/rules
+++ b/debian/squeeze/applications/katapult/debian/rules
@@ -28,10 +28,15 @@ DEB_INSTALL_MANPAGES_katapult-trinity = katapult.1
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /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
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kbarcode/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kbarcode/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kbarcode/debian/rules b/debian/squeeze/applications/kbarcode/debian/rules
index 4126d3486..f0aedb1c7 100755
--- a/debian/squeeze/applications/kbarcode/debian/rules
+++ b/debian/squeeze/applications/kbarcode/debian/rules
@@ -22,10 +22,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kbibtex/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kbibtex/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kbibtex/debian/rules b/debian/squeeze/applications/kbibtex/debian/rules
index 590ff494e..24b9a8fff 100755
--- a/debian/squeeze/applications/kbibtex/debian/rules
+++ b/debian/squeeze/applications/kbibtex/debian/rules
@@ -18,10 +18,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/kbiff/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kbiff/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/kbiff/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kbiff/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kbiff/debian/rules b/debian/squeeze/applications/kbiff/debian/rules
index 39a274279..3ab00e0ff 100755
--- a/debian/squeeze/applications/kbiff/debian/rules
+++ b/debian/squeeze/applications/kbiff/debian/rules
@@ -23,10 +23,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/kbookreader/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kbookreader/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kbookreader/debian/rules b/debian/squeeze/applications/kbookreader/debian/rules
index 57be0b933..f7188ffb1 100755
--- a/debian/squeeze/applications/kbookreader/debian/rules
+++ b/debian/squeeze/applications/kbookreader/debian/rules
@@ -19,10 +19,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kchmviewer/debian/rules b/debian/squeeze/applications/kchmviewer/debian/rules
index 75422d3a2..4766ace5a 100755
--- a/debian/squeeze/applications/kchmviewer/debian/rules
+++ b/debian/squeeze/applications/kchmviewer/debian/rules
@@ -43,10 +43,15 @@ build: debian/build-kde
debian/build-kde:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/kcmautostart/debian/rules b/debian/squeeze/applications/kcmautostart/debian/rules
index 3233b6e36..272168641 100755
--- a/debian/squeeze/applications/kcmautostart/debian/rules
+++ b/debian/squeeze/applications/kcmautostart/debian/rules
@@ -17,10 +17,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kcmldap/debian/rules b/debian/squeeze/applications/kcmldap/debian/rules
index 3233b6e36..272168641 100755
--- a/debian/squeeze/applications/kcmldap/debian/rules
+++ b/debian/squeeze/applications/kcmldap/debian/rules
@@ -17,10 +17,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kcmldapcontroller/debian/rules b/debian/squeeze/applications/kcmldapcontroller/debian/rules
index 3233b6e36..272168641 100755
--- a/debian/squeeze/applications/kcmldapcontroller/debian/rules
+++ b/debian/squeeze/applications/kcmldapcontroller/debian/rules
@@ -17,10 +17,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kcmldapmanager/debian/rules b/debian/squeeze/applications/kcmldapmanager/debian/rules
index 3233b6e36..272168641 100755
--- a/debian/squeeze/applications/kcmldapmanager/debian/rules
+++ b/debian/squeeze/applications/kcmldapmanager/debian/rules
@@ -17,10 +17,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kcpuload/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kcpuload/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kcpuload/debian/rules b/debian/squeeze/applications/kcpuload/debian/rules
index 83e0a5113..183ac6b78 100755
--- a/debian/squeeze/applications/kcpuload/debian/rules
+++ b/debian/squeeze/applications/kcpuload/debian/rules
@@ -49,10 +49,15 @@ configure: configure-stamp
configure-stamp:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/kdbg/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kdbg/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/kdbg/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kdbg/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kdbg/debian/rules b/debian/squeeze/applications/kdbg/debian/rules
index 814462bf3..843f7443b 100755
--- a/debian/squeeze/applications/kdbg/debian/rules
+++ b/debian/squeeze/applications/kdbg/debian/rules
@@ -20,10 +20,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kdbusnotification/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kdbusnotification/debian/rules b/debian/squeeze/applications/kdbusnotification/debian/rules
index 842cf0eb8..9de7eb0d9 100755
--- a/debian/squeeze/applications/kdbusnotification/debian/rules
+++ b/debian/squeeze/applications/kdbusnotification/debian/rules
@@ -53,10 +53,15 @@ configure: configure-stamp
configure-stamp:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/kdiff3/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kdiff3/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kdiff3/debian/rules b/debian/squeeze/applications/kdiff3/debian/rules
index 0252d28f2..fed277103 100755
--- a/debian/squeeze/applications/kdiff3/debian/rules
+++ b/debian/squeeze/applications/kdiff3/debian/rules
@@ -21,10 +21,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/kdirstat/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kdirstat/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kdirstat/debian/rules b/debian/squeeze/applications/kdirstat/debian/rules
index d91d26acf..018dd234e 100755
--- a/debian/squeeze/applications/kdirstat/debian/rules
+++ b/debian/squeeze/applications/kdirstat/debian/rules
@@ -21,10 +21,15 @@ LDFLAGS += -Wl,--as-needed
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kdpkg/debian/rules b/debian/squeeze/applications/kdpkg/debian/rules
index 827fcf65e..fc6797244 100755
--- a/debian/squeeze/applications/kdpkg/debian/rules
+++ b/debian/squeeze/applications/kdpkg/debian/rules
@@ -17,10 +17,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/keep/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/keep/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/keep/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/keep/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/keep/debian/rules b/debian/squeeze/applications/keep/debian/rules
index 7022e2033..3a164d0ab 100755
--- a/debian/squeeze/applications/keep/debian/rules
+++ b/debian/squeeze/applications/keep/debian/rules
@@ -22,10 +22,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kerberostray/debian/rules b/debian/squeeze/applications/kerberostray/debian/rules
index 3233b6e36..272168641 100755
--- a/debian/squeeze/applications/kerberostray/debian/rules
+++ b/debian/squeeze/applications/kerberostray/debian/rules
@@ -17,10 +17,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kerry/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kerry/debian/cdbs/debian-qt-kde.mk
index 6b7b16643..61f3ab2dc 100644
--- a/debian/squeeze/applications/kerry/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kerry/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kftpgrabber/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kftpgrabber/debian/rules b/debian/squeeze/applications/kftpgrabber/debian/rules
index a012b7a55..b7b5591da 100755
--- a/debian/squeeze/applications/kftpgrabber/debian/rules
+++ b/debian/squeeze/applications/kftpgrabber/debian/rules
@@ -19,10 +19,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/kile/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kile/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kile/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kile/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kile/debian/rules b/debian/squeeze/applications/kile/debian/rules
index a6fc5c49d..005c629bf 100755
--- a/debian/squeeze/applications/kile/debian/rules
+++ b/debian/squeeze/applications/kile/debian/rules
@@ -23,10 +23,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kima/debian/rules b/debian/squeeze/applications/kima/debian/rules
index 45e052b96..dba0b0120 100755
--- a/debian/squeeze/applications/kima/debian/rules
+++ b/debian/squeeze/applications/kima/debian/rules
@@ -18,10 +18,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kiosktool/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kiosktool/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kiosktool/debian/rules b/debian/squeeze/applications/kiosktool/debian/rules
index 9be153a19..37ab84978 100755
--- a/debian/squeeze/applications/kiosktool/debian/rules
+++ b/debian/squeeze/applications/kiosktool/debian/rules
@@ -17,10 +17,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kkbswitch/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kkbswitch/debian/rules b/debian/squeeze/applications/kkbswitch/debian/rules
index 5059158c3..bfc6f897f 100755
--- a/debian/squeeze/applications/kkbswitch/debian/rules
+++ b/debian/squeeze/applications/kkbswitch/debian/rules
@@ -17,10 +17,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/klcddimmer/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/klcddimmer/debian/rules b/debian/squeeze/applications/klcddimmer/debian/rules
index 55935a695..d1fe9ab90 100755
--- a/debian/squeeze/applications/klcddimmer/debian/rules
+++ b/debian/squeeze/applications/klcddimmer/debian/rules
@@ -17,9 +17,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
diff --git a/debian/squeeze/applications/kmplayer/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kmplayer/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kmplayer/debian/rules b/debian/squeeze/applications/kmplayer/debian/rules
index 680f4a82f..e5bb714ad 100755
--- a/debian/squeeze/applications/kmplayer/debian/rules
+++ b/debian/squeeze/applications/kmplayer/debian/rules
@@ -28,10 +28,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kmyfirewall/debian/rules b/debian/squeeze/applications/kmyfirewall/debian/rules
index 5894cdd46..58260e9ca 100755
--- a/debian/squeeze/applications/kmyfirewall/debian/rules
+++ b/debian/squeeze/applications/kmyfirewall/debian/rules
@@ -43,10 +43,15 @@ endif
config.status:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/kmymoney/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kmymoney/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kmymoney/debian/rules b/debian/squeeze/applications/kmymoney/debian/rules
index c80d64532..9f3b27c62 100755
--- a/debian/squeeze/applications/kmymoney/debian/rules
+++ b/debian/squeeze/applications/kmymoney/debian/rules
@@ -21,10 +21,15 @@ LDFLAGS += -Wl,--as-needed
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/knemo/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/knemo/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/knemo/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/knemo/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/knemo/debian/rules b/debian/squeeze/applications/knemo/debian/rules
index ff220ecc2..d620f6c1b 100755
--- a/debian/squeeze/applications/knemo/debian/rules
+++ b/debian/squeeze/applications/knemo/debian/rules
@@ -21,10 +21,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/knetload/debian/rules b/debian/squeeze/applications/knetload/debian/rules
index d955fbe4a..43c44fbe2 100755
--- a/debian/squeeze/applications/knetload/debian/rules
+++ b/debian/squeeze/applications/knetload/debian/rules
@@ -63,10 +63,15 @@ configure-stamp:
touch patch-stamp ;\
fi
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/knetstats/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/knetstats/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/knetstats/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/knetstats/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/knetstats/debian/rules b/debian/squeeze/applications/knetstats/debian/rules
index 1c151ec0e..e0cb7dd6e 100755
--- a/debian/squeeze/applications/knetstats/debian/rules
+++ b/debian/squeeze/applications/knetstats/debian/rules
@@ -19,10 +19,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/knetworkmanager8/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/knetworkmanager8/debian/rules b/debian/squeeze/applications/knetworkmanager8/debian/rules
index f2e523cd8..56aef725f 100755
--- a/debian/squeeze/applications/knetworkmanager8/debian/rules
+++ b/debian/squeeze/applications/knetworkmanager8/debian/rules
@@ -21,10 +21,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -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
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/knights/debian/rules b/debian/squeeze/applications/knights/debian/rules
index 26d343f49..2491f3603 100755
--- a/debian/squeeze/applications/knights/debian/rules
+++ b/debian/squeeze/applications/knights/debian/rules
@@ -42,10 +42,15 @@ debian/knights.xpm: media/hi32-app-knights.png
config.status:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/knmap/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/knmap/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/knmap/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/knmap/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/knmap/debian/rules b/debian/squeeze/applications/knmap/debian/rules
index b01b33718..a6d7c8c1d 100755
--- a/debian/squeeze/applications/knmap/debian/rules
+++ b/debian/squeeze/applications/knmap/debian/rules
@@ -18,10 +18,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/knowit/debian/rules b/debian/squeeze/applications/knowit/debian/rules
index 07ea32c92..3354a3ff3 100755
--- a/debian/squeeze/applications/knowit/debian/rules
+++ b/debian/squeeze/applications/knowit/debian/rules
@@ -28,10 +28,15 @@ endif
config.status:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/knutclient/debian/rules b/debian/squeeze/applications/knutclient/debian/rules
index 761c5e63c..d9016bd72 100755
--- a/debian/squeeze/applications/knutclient/debian/rules
+++ b/debian/squeeze/applications/knutclient/debian/rules
@@ -35,10 +35,15 @@ endif
config.status:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/koffice-i18n/debian/rules b/debian/squeeze/applications/koffice-i18n/debian/rules
index 478c97b9d..82e0c4c13 100755
--- a/debian/squeeze/applications/koffice-i18n/debian/rules
+++ b/debian/squeeze/applications/koffice-i18n/debian/rules
@@ -12,10 +12,15 @@ build-stamp:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
#Configure languages.
diff --git a/debian/squeeze/applications/koffice/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/koffice/debian/cdbs/debian-qt-kde.mk
index a803f50d6..bb7bdf7e0 100644
--- a/debian/squeeze/applications/koffice/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/koffice/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/konversation/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/konversation/debian/cdbs/debian-qt-kde.mk
index d81e0a12f..32ba4acfb 100644
--- a/debian/squeeze/applications/konversation/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/konversation/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/konversation/debian/rules b/debian/squeeze/applications/konversation/debian/rules
index e9d9f87b4..7193b4efb 100755
--- a/debian/squeeze/applications/konversation/debian/rules
+++ b/debian/squeeze/applications/konversation/debian/rules
@@ -33,10 +33,15 @@ post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
ifndef _cdbs_class_cmake
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kopete-otr/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kopete-otr/debian/rules b/debian/squeeze/applications/kopete-otr/debian/rules
index 4edf9d96d..e466423d3 100755
--- a/debian/squeeze/applications/kopete-otr/debian/rules
+++ b/debian/squeeze/applications/kopete-otr/debian/rules
@@ -18,10 +18,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kpicosim/debian/rules b/debian/squeeze/applications/kpicosim/debian/rules
index 41b9123f6..965a51c97 100755
--- a/debian/squeeze/applications/kpicosim/debian/rules
+++ b/debian/squeeze/applications/kpicosim/debian/rules
@@ -36,10 +36,15 @@ endif
config.status:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/kpilot/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kpilot/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kpilot/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kpilot/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kpilot/debian/rules b/debian/squeeze/applications/kpilot/debian/rules
index 4edf9d96d..e466423d3 100755
--- a/debian/squeeze/applications/kpilot/debian/rules
+++ b/debian/squeeze/applications/kpilot/debian/rules
@@ -18,10 +18,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kpowersave/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
index d81e0a12f..32ba4acfb 100644
--- a/debian/squeeze/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kpowersave/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kpowersave/debian/rules b/debian/squeeze/applications/kpowersave/debian/rules
index 25d02a24d..874540477 100755
--- a/debian/squeeze/applications/kpowersave/debian/rules
+++ b/debian/squeeze/applications/kpowersave/debian/rules
@@ -31,10 +31,15 @@ DEB_CMAKE_EXTRA_FLAGS := \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/krecipes/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/krecipes/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/krecipes/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/krecipes/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/krecipes/debian/rules b/debian/squeeze/applications/krecipes/debian/rules
index 3d278aa58..5a49f651f 100755
--- a/debian/squeeze/applications/krecipes/debian/rules
+++ b/debian/squeeze/applications/krecipes/debian/rules
@@ -17,10 +17,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/krename/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/krename/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/krename/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/krename/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/krename/debian/rules b/debian/squeeze/applications/krename/debian/rules
index e334635a3..d5bf05e8b 100755
--- a/debian/squeeze/applications/krename/debian/rules
+++ b/debian/squeeze/applications/krename/debian/rules
@@ -21,10 +21,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
### Libtool and Automake updates
post-patches:: debian/stamp-autothings-update
debian/stamp-autothings-update:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
for f in /usr/share/automake-1.10/*; do \
diff --git a/debian/squeeze/applications/krusader/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/krusader/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/krusader/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/krusader/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/krusader/debian/rules b/debian/squeeze/applications/krusader/debian/rules
index b2648dd28..f89cc03ca 100755
--- a/debian/squeeze/applications/krusader/debian/rules
+++ b/debian/squeeze/applications/krusader/debian/rules
@@ -24,10 +24,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kscope/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kscope/debian/cdbs/debian-qt-kde.mk
index d81e0a12f..32ba4acfb 100644
--- a/debian/squeeze/applications/kscope/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kscope/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kscope/debian/rules b/debian/squeeze/applications/kscope/debian/rules
index 5c84967c0..21f3c56c4 100755
--- a/debian/squeeze/applications/kscope/debian/rules
+++ b/debian/squeeze/applications/kscope/debian/rules
@@ -19,10 +19,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/ksensors/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/ksensors/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/ksensors/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/ksensors/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/ksensors/debian/rules b/debian/squeeze/applications/ksensors/debian/rules
index 26bdd99ed..fcb4eebc3 100755
--- a/debian/squeeze/applications/ksensors/debian/rules
+++ b/debian/squeeze/applications/ksensors/debian/rules
@@ -18,10 +18,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/kshowmail/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kshowmail/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kshowmail/debian/rules b/debian/squeeze/applications/kshowmail/debian/rules
index 3256ecc63..43b4c08dd 100755
--- a/debian/squeeze/applications/kshowmail/debian/rules
+++ b/debian/squeeze/applications/kshowmail/debian/rules
@@ -17,10 +17,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/kshutdown/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kshutdown/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kshutdown/debian/rules b/debian/squeeze/applications/kshutdown/debian/rules
index 78ead2287..a9c195576 100755
--- a/debian/squeeze/applications/kshutdown/debian/rules
+++ b/debian/squeeze/applications/kshutdown/debian/rules
@@ -18,10 +18,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/ksplash-engine-moodin/debian/rules b/debian/squeeze/applications/ksplash-engine-moodin/debian/rules
index 4542a777a..9ced52925 100755
--- a/debian/squeeze/applications/ksplash-engine-moodin/debian/rules
+++ b/debian/squeeze/applications/ksplash-engine-moodin/debian/rules
@@ -39,10 +39,15 @@ debian/debiandirs: admin/debianrules
config.status:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/ksquirrel/debian/rules b/debian/squeeze/applications/ksquirrel/debian/rules
index 9c031c9b6..328283c93 100755
--- a/debian/squeeze/applications/ksquirrel/debian/rules
+++ b/debian/squeeze/applications/ksquirrel/debian/rules
@@ -32,10 +32,15 @@ configure:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/ksystemlog/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/ksystemlog/debian/rules b/debian/squeeze/applications/ksystemlog/debian/rules
index db87d876b..a9c2c64a6 100755
--- a/debian/squeeze/applications/ksystemlog/debian/rules
+++ b/debian/squeeze/applications/ksystemlog/debian/rules
@@ -21,10 +21,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/ktechlab/debian/rules b/debian/squeeze/applications/ktechlab/debian/rules
index f42172741..103f921f7 100755
--- a/debian/squeeze/applications/ktechlab/debian/rules
+++ b/debian/squeeze/applications/ktechlab/debian/rules
@@ -32,10 +32,15 @@ debian/ktechlab.xpm: icons/hi32-app-ktechlab.png
config.status:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/ktorrent/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
index a803f50d6..bb7bdf7e0 100644
--- a/debian/squeeze/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/ktorrent/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kuickshow/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kuickshow/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kuickshow/debian/rules b/debian/squeeze/applications/kuickshow/debian/rules
index 0d5c2cf9d..dfe527c0c 100755
--- a/debian/squeeze/applications/kuickshow/debian/rules
+++ b/debian/squeeze/applications/kuickshow/debian/rules
@@ -20,10 +20,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kvirc/debian/rules b/debian/squeeze/applications/kvirc/debian/rules
index 6fe6c435f..66b12bfe8 100755
--- a/debian/squeeze/applications/kvirc/debian/rules
+++ b/debian/squeeze/applications/kvirc/debian/rules
@@ -75,10 +75,15 @@ common-install-indep::
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
./autogen.sh
diff --git a/debian/squeeze/applications/kvkbd/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/kvkbd/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/kvkbd/debian/rules b/debian/squeeze/applications/kvkbd/debian/rules
index ce30a583d..ab9b49896 100755
--- a/debian/squeeze/applications/kvkbd/debian/rules
+++ b/debian/squeeze/applications/kvkbd/debian/rules
@@ -22,10 +22,15 @@ makebuilddir/kvkbd-trinity::
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/kvpnc/debian/rules b/debian/squeeze/applications/kvpnc/debian/rules
index 759391686..a409525d5 100755
--- a/debian/squeeze/applications/kvpnc/debian/rules
+++ b/debian/squeeze/applications/kvpnc/debian/rules
@@ -22,7 +22,12 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
makebuilddir/kvpnc-trinity::
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/mplayerthumbs/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/mplayerthumbs/debian/rules b/debian/squeeze/applications/mplayerthumbs/debian/rules
index 89ce8a2dd..b76dff481 100755
--- a/debian/squeeze/applications/mplayerthumbs/debian/rules
+++ b/debian/squeeze/applications/mplayerthumbs/debian/rules
@@ -17,10 +17,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/piklab/debian/rules b/debian/squeeze/applications/piklab/debian/rules
index 82134f449..24ae1e8b4 100755
--- a/debian/squeeze/applications/piklab/debian/rules
+++ b/debian/squeeze/applications/piklab/debian/rules
@@ -35,10 +35,15 @@ config: post-patches config-stamp
config-stamp:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/potracegui/debian/rules b/debian/squeeze/applications/potracegui/debian/rules
index 2f8675d9f..7b2aef671 100755
--- a/debian/squeeze/applications/potracegui/debian/rules
+++ b/debian/squeeze/applications/potracegui/debian/rules
@@ -35,10 +35,15 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
endif
config.status:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/smb4k/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/smb4k/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/smb4k/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/smb4k/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/smb4k/debian/rules b/debian/squeeze/applications/smb4k/debian/rules
index 70b1248dc..9c064a1c9 100755
--- a/debian/squeeze/applications/smb4k/debian/rules
+++ b/debian/squeeze/applications/smb4k/debian/rules
@@ -22,10 +22,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/soundkonverter/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/soundkonverter/debian/rules b/debian/squeeze/applications/soundkonverter/debian/rules
index d50c37f2d..12340c8de 100755
--- a/debian/squeeze/applications/soundkonverter/debian/rules
+++ b/debian/squeeze/applications/soundkonverter/debian/rules
@@ -26,10 +26,15 @@ install/soundkonverter-amarok-trinity::
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/tde-style-lipstik/debian/rules b/debian/squeeze/applications/tde-style-lipstik/debian/rules
index eb9de9610..004310729 100755
--- a/debian/squeeze/applications/tde-style-lipstik/debian/rules
+++ b/debian/squeeze/applications/tde-style-lipstik/debian/rules
@@ -73,10 +73,15 @@ endif
dh_clean
patch:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tde-systemsettings/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/tde-systemsettings/debian/rules b/debian/squeeze/applications/tde-systemsettings/debian/rules
index eefb21802..379cddff1 100755
--- a/debian/squeeze/applications/tde-systemsettings/debian/rules
+++ b/debian/squeeze/applications/tde-systemsettings/debian/rules
@@ -21,10 +21,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdeio-apt/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/tdeio-apt/debian/rules b/debian/squeeze/applications/tdeio-apt/debian/rules
index d58185b57..59115c680 100755
--- a/debian/squeeze/applications/tdeio-apt/debian/rules
+++ b/debian/squeeze/applications/tdeio-apt/debian/rules
@@ -19,10 +19,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdeio-ftps/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/tdeio-ftps/debian/rules b/debian/squeeze/applications/tdeio-ftps/debian/rules
index 55935a695..14f8d0476 100755
--- a/debian/squeeze/applications/tdeio-ftps/debian/rules
+++ b/debian/squeeze/applications/tdeio-ftps/debian/rules
@@ -17,10 +17,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/tdeio-sword/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdeio-sword/debian/cdbs/debian-qt-kde.mk
index d81e0a12f..32ba4acfb 100644
--- a/debian/squeeze/applications/tdeio-sword/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdeio-sword/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/tdeio-sword/debian/rules b/debian/squeeze/applications/tdeio-sword/debian/rules
index bef973392..41a0fa49e 100755
--- a/debian/squeeze/applications/tdeio-sword/debian/rules
+++ b/debian/squeeze/applications/tdeio-sword/debian/rules
@@ -18,10 +18,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdeio-umountwrapper/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/tdeio-umountwrapper/debian/rules b/debian/squeeze/applications/tdeio-umountwrapper/debian/rules
index e3f6c6049..025e100b3 100755
--- a/debian/squeeze/applications/tdeio-umountwrapper/debian/rules
+++ b/debian/squeeze/applications/tdeio-umountwrapper/debian/rules
@@ -19,10 +19,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
index 33a932634..ede9d744d 100644
--- a/debian/squeeze/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdepowersave/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/tdepowersave/debian/rules b/debian/squeeze/applications/tdepowersave/debian/rules
index a1a4b57ad..be5f1575b 100755
--- a/debian/squeeze/applications/tdepowersave/debian/rules
+++ b/debian/squeeze/applications/tdepowersave/debian/rules
@@ -32,10 +32,15 @@ post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
ifndef _cdbs_class_cmake
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/tderadio/debian/rules b/debian/squeeze/applications/tderadio/debian/rules
index 424c44789..0dca2b923 100755
--- a/debian/squeeze/applications/tderadio/debian/rules
+++ b/debian/squeeze/applications/tderadio/debian/rules
@@ -34,7 +34,12 @@ debian/tderadio.xpm: tderadio3/icons/hi32-app-tderadio.png
convert $< $@
configure:
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cat /usr/share/aclocal/libtool.m4 > admin/libtool.m4.in
cp -f /usr/share/misc/config.sub admin/config.sub
cp -f /usr/share/misc/config.guess admin/config.guess
diff --git a/debian/squeeze/applications/tdesudo/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdesudo/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/tdesudo/debian/rules b/debian/squeeze/applications/tdesudo/debian/rules
index 210e8a3b4..46773edff 100755
--- a/debian/squeeze/applications/tdesudo/debian/rules
+++ b/debian/squeeze/applications/tdesudo/debian/rules
@@ -28,10 +28,15 @@ clean::
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tdmtheme/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/tdmtheme/debian/rules b/debian/squeeze/applications/tdmtheme/debian/rules
index 4c71145dc..5b8b60bcb 100755
--- a/debian/squeeze/applications/tdmtheme/debian/rules
+++ b/debian/squeeze/applications/tdmtheme/debian/rules
@@ -21,10 +21,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/tellico/debian/rules b/debian/squeeze/applications/tellico/debian/rules
index 118fb52ac..0715a74bb 100755
--- a/debian/squeeze/applications/tellico/debian/rules
+++ b/debian/squeeze/applications/tellico/debian/rules
@@ -38,10 +38,15 @@ config.status:
# this makes the file more recent than configure and avoid make calling
# autoheader
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/applications/tork/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/tork/debian/cdbs/debian-qt-kde.mk
index f72df2152..b4b889c6d 100644
--- a/debian/squeeze/applications/tork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/tork/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/tork/debian/rules b/debian/squeeze/applications/tork/debian/rules
index 38a29895e..36fed7dc5 100755
--- a/debian/squeeze/applications/tork/debian/rules
+++ b/debian/squeeze/applications/tork/debian/rules
@@ -17,10 +17,15 @@ debian/stamp-bootstrap:
dh_testdir
# Regenerate build system
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
diff --git a/debian/squeeze/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/twin-style-crystal/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/twin-style-crystal/debian/rules b/debian/squeeze/applications/twin-style-crystal/debian/rules
index ed4a24965..43eb62819 100755
--- a/debian/squeeze/applications/twin-style-crystal/debian/rules
+++ b/debian/squeeze/applications/twin-style-crystal/debian/rules
@@ -19,10 +19,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/applications/yakuake/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/applications/yakuake/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/applications/yakuake/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/applications/yakuake/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/applications/yakuake/debian/rules b/debian/squeeze/applications/yakuake/debian/rules
index aa22c8b59..714a3bb7f 100755
--- a/debian/squeeze/applications/yakuake/debian/rules
+++ b/debian/squeeze/applications/yakuake/debian/rules
@@ -21,10 +21,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
### Libtool and Automake updates
post-patches:: debian/stamp-autothings-update
debian/stamp-autothings-update:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/dependencies/libart-lgpl/debian/rules b/debian/squeeze/dependencies/libart-lgpl/debian/rules
index 3ae4eb42c..495993679 100755
--- a/debian/squeeze/dependencies/libart-lgpl/debian/rules
+++ b/debian/squeeze/dependencies/libart-lgpl/debian/rules
@@ -11,7 +11,12 @@ include /usr/share/gnome-pkg-tools/1/rules/clean-la.mk
debian/stamp-autoreconf:
dh_testdir
cp -Rp /usr/share/aclocal/libtool.m4 libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh ltmain.sh
+endif
autoreconf -vi && \
touch $@
diff --git a/debian/squeeze/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/libraries/kipi-plugins/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/libraries/libkdcraw/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/libraries/libkexiv2/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/libraries/libkipi/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
index c807eed8c..9920696ce 100644
--- a/debian/squeeze/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/libraries/libkipi/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/libraries/libksquirrel/debian/rules b/debian/squeeze/libraries/libksquirrel/debian/rules
index ff118fd10..15f00b785 100755
--- a/debian/squeeze/libraries/libksquirrel/debian/rules
+++ b/debian/squeeze/libraries/libksquirrel/debian/rules
@@ -31,10 +31,15 @@ config.status: configure
configure:
dh_testdir
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
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
diff --git a/debian/squeeze/libraries/libtdeldap/debian/rules b/debian/squeeze/libraries/libtdeldap/debian/rules
index 3233b6e36..272168641 100755
--- a/debian/squeeze/libraries/libtdeldap/debian/rules
+++ b/debian/squeeze/libraries/libtdeldap/debian/rules
@@ -17,10 +17,15 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
post-patches:: debian/stamp-bootstrap
debian/stamp-bootstrap:
- ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
- ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+endif
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
make -f admin/Makefile.common cvs
diff --git a/debian/squeeze/libraries/libtqt-perl/debian/rules b/debian/squeeze/libraries/libtqt-perl/debian/rules
index 0af0c47f4..28a9c7817 100755
--- a/debian/squeeze/libraries/libtqt-perl/debian/rules
+++ b/debian/squeeze/libraries/libtqt-perl/debian/rules
@@ -39,7 +39,12 @@ pre-build:: pre-build-stamp
pre-build-stamp:
for f in $(SAVERESTORE) ; do [ -e $$f.d-r-orig ] || cp -rp $$f $$f.d-r-orig ; done
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
cp -f /usr/share/misc/config.guess admin/config.guess
cp -f /usr/share/misc/config.sub admin/config.sub
make -f admin/Makefile.common
diff --git a/debian/squeeze/tdeaccessibility/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
index 6b7b16643..61f3ab2dc 100644
--- a/debian/squeeze/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeaccessibility/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdeaddons/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeaddons/debian/cdbs/debian-qt-kde.mk
index 26d768d1c..60ccb9eef 100644
--- a/debian/squeeze/tdeaddons/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeaddons/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdeadmin/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeadmin/debian/cdbs/debian-qt-kde.mk
index 6b7b16643..61f3ab2dc 100644
--- a/debian/squeeze/tdeadmin/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeadmin/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdeartwork/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeartwork/debian/cdbs/debian-qt-kde.mk
index 425264528..2fceacd20 100644
--- a/debian/squeeze/tdeartwork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeartwork/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdebindings/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdebindings/debian/cdbs/debian-qt-kde.mk
index ec780b73a..2855b1446 100644
--- a/debian/squeeze/tdebindings/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdebindings/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdeedu/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeedu/debian/cdbs/debian-qt-kde.mk
index 6b7b16643..61f3ab2dc 100644
--- a/debian/squeeze/tdeedu/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeedu/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdegames/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdegames/debian/cdbs/debian-qt-kde.mk
index 6b7b16643..61f3ab2dc 100644
--- a/debian/squeeze/tdegames/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdegames/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdegraphics/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdegraphics/debian/cdbs/debian-qt-kde.mk
index 7c7e6d56c..9f69521a9 100644
--- a/debian/squeeze/tdegraphics/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdegraphics/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdemultimedia/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdemultimedia/debian/cdbs/debian-qt-kde.mk
index 6b7b16643..61f3ab2dc 100644
--- a/debian/squeeze/tdemultimedia/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdemultimedia/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdenetwork/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdenetwork/debian/cdbs/debian-qt-kde.mk
index 4a9d74d88..722579c21 100644
--- a/debian/squeeze/tdenetwork/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdenetwork/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdesdk/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdesdk/debian/cdbs/debian-qt-kde.mk
index 26d768d1c..60ccb9eef 100644
--- a/debian/squeeze/tdesdk/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdesdk/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdetoys/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdetoys/debian/cdbs/debian-qt-kde.mk
index 4a9d74d88..722579c21 100644
--- a/debian/squeeze/tdetoys/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdetoys/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdeutils/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdeutils/debian/cdbs/debian-qt-kde.mk
index 4a9d74d88..722579c21 100644
--- a/debian/squeeze/tdeutils/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdeutils/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdevelop/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdevelop/debian/cdbs/debian-qt-kde.mk
index 4a9d74d88..722579c21 100644
--- a/debian/squeeze/tdevelop/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdevelop/debian/cdbs/debian-qt-kde.mk
@@ -12,7 +12,12 @@ common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
ifndef _cdbs_class_cmake
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
endif
touch debian/stamp-cvs-make
diff --git a/debian/squeeze/tdewebdev/debian/cdbs/debian-qt-kde.mk b/debian/squeeze/tdewebdev/debian/cdbs/debian-qt-kde.mk
index 6b7b16643..61f3ab2dc 100644
--- a/debian/squeeze/tdewebdev/debian/cdbs/debian-qt-kde.mk
+++ b/debian/squeeze/tdewebdev/debian/cdbs/debian-qt-kde.mk
@@ -11,7 +11,12 @@ _cdbs_class_debian-qt-kde := 1
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
debian/stamp-cvs-make:
cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
touch debian/stamp-cvs-make