summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/kvpnc/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/maverick/applications/kvpnc/debian/rules')
-rwxr-xr-xubuntu/maverick/applications/kvpnc/debian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/ubuntu/maverick/applications/kvpnc/debian/rules b/ubuntu/maverick/applications/kvpnc/debian/rules
index 759391686..a409525d5 100755
--- a/ubuntu/maverick/applications/kvpnc/debian/rules
+++ b/ubuntu/maverick/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