summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/lenny/applications/kaffeine-mozilla/debian/rules9
-rwxr-xr-xdebian/squeeze/applications/kaffeine-mozilla/debian/rules9
-rwxr-xr-xubuntu/maverick/applications/kaffeine-mozilla/debian/rules9
3 files changed, 21 insertions, 6 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
diff --git a/ubuntu/maverick/applications/kaffeine-mozilla/debian/rules b/ubuntu/maverick/applications/kaffeine-mozilla/debian/rules
index 51d9c565f..228818f36 100755
--- a/ubuntu/maverick/applications/kaffeine-mozilla/debian/rules
+++ b/ubuntu/maverick/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