summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Beckmann <anbe@debian.org>2014-05-23 00:36:49 +0200
committerAndreas Beckmann <anbe@debian.org>2014-05-23 00:36:49 +0200
commit1c4cb61ee21d089a4b95bf02e0ca724be1c463de (patch)
treec1d0cf708f4607086c3dae134a977d9be805b2c4
parent80f6c90b92e70e3882732f9a7e406a8127c7b7fa (diff)
downloadsendmail-1c4cb61ee21d089a4b95bf02e0ca724be1c463de.tar.gz
prepare for using debian/tmp and dh_install
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index b6fdd2c..fefd7fd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,7 +48,7 @@ DEB_UPSTREAM_TARBALL_VERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's/+[
DEB_TAR_SRCDIR := $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_TARBALL_VERSION)
DEB_SRCDIR := build-tree/$(DEB_TAR_SRCDIR)
DEB_BUILDDIR := $(DEB_SRCDIR)
-DEB_DESTDIR = debian/$(DEB_SOURCE_PACKAGE)
+DEB_DESTDIR = $(CURDIR)/${PKG_TMP}
DEB_DBG_PACKAGES = libmilter$(sm_libmilter_version)-dbg
DEB_DBG_PACKAGE_libmilter$(sm_libmilter_version) = libmilter$(sm_libmilter_version)-dbg
DEB_DH_INSTALL_CRON_ARGS = --name=$(DEB_SOURCE_PACKAGE)
@@ -89,6 +89,7 @@ PKG_DIR := debian/${DEB_SOURCE_PACKAGE}-bin
PKG_DOC = debian/${DEB_SOURCE_PACKAGE}-doc${docdir}/${DEB_SOURCE_PACKAGE}-doc
SM_SUBDIRS := editmap libmilter mail.local mailstats \
makemap praliases rmail sendmail smrsh vacation
+PKG_TMP = debian/tmp
# We want delayed interpretation of the options !
ifeq (y, $(shell test -x /usr/bin/debuild && echo 'y'))