summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2014-05-23 02:41:48 +0200
committerAndreas Beckmann <anbe@debian.org>2014-05-23 02:41:48 +0200
commit3e2567d9db2c06edcb72963e90f4e0ff76006759 (patch)
treeeabed23488144f373193f816197223cb5ccfaa6e
parent9e47fb5833287697cfe437a4a6932a45b50c2a1c (diff)
downloadsendmail-3e2567d9db2c06edcb72963e90f4e0ff76006759.tar.gz
use the sendmail build system to install the static libraries
-rwxr-xr-xdebian/rules10
1 files changed, 2 insertions, 8 deletions
diff --git a/debian/rules b/debian/rules
index 21b00e4..df2079e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -410,14 +410,8 @@ common-install-arch::
(cd ${DEB_SRCDIR}/obj*/libmilter && \
$(MAKE) install \
DESTDIR="../../../../debian/libmilter-dev";); \
- $(INSTALL_PROGRAM) ${DEB_SRCDIR}/obj.*/libmilter/libmilter.a \
- debian/libmilter-dev${libdir}/libmilter/; \
- $(INSTALL_PROGRAM) ${DEB_SRCDIR}/obj.*/libsmutil/libsmutil.a \
- debian/libmilter-dev${libdir}/libmilter/; \
- if [ -d ${DEB_SRCDIR}/libsm ]; then \
- $(INSTALL_PROGRAM) ${DEB_SRCDIR}/obj.*/libsm/libsm.a \
- debian/libmilter-dev${libdir}/libmilter/; \
- fi; \
+ $(MAKE) -C ${DEB_SRCDIR}/libsmutil install DESTDIR="$(DEB_DESTDIR)/../libmilter-dev"
+ $(MAKE) -C ${DEB_SRCDIR}/libsm install DESTDIR="$(DEB_DESTDIR)/../libmilter-dev"
#--------------------------------------------------------------------