summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/lenny/applications/kaffeine-mozilla/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kaffeine-mozilla/debian/rules9
2 files changed, 14 insertions, 4 deletions
diff --git a/debian/lenny/applications/kaffeine-mozilla/debian/rules b/debian/lenny/applications/kaffeine-mozilla/debian/rules
index 51d9c565f..228818f36 100755
--- a/debian/lenny/applications/kaffeine-mozilla/debian/rules
+++ b/debian/lenny/applications/kaffeine-mozilla/debian/rules
@@ -92,10 +92,15 @@ clean:
dh_testdir
dh_testroot
- ! [ -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
automake --add-missing
diff --git a/debian/squeeze/applications/kaffeine-mozilla/debian/rules b/debian/squeeze/applications/kaffeine-mozilla/debian/rules
index 51d9c565f..228818f36 100755
--- a/debian/squeeze/applications/kaffeine-mozilla/debian/rules
+++ b/debian/squeeze/applications/kaffeine-mozilla/debian/rules
@@ -92,10 +92,15 @@ clean:
dh_testdir
dh_testroot
- ! [ -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
automake --add-missing