summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules43
1 files changed, 15 insertions, 28 deletions
diff --git a/debian/rules b/debian/rules
index 442b95e..dbccafd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -326,42 +326,29 @@ common-install-indep::
#
# sendmail operations guide and other documentation
${INSTALL} -d ${PKG_DOC}/op
- $(INSTALL_DATA) ${DEB_SRCDIR}/doc/op/op.ps ${PKG_DOC}/op;
- $(INSTALL_DATA) ${DEB_SRCDIR}/doc/op/op.txt ${PKG_DOC}/op;
- $(INSTALL_DATA) ${DEB_SRCDIR}/README ${PKG_DOC}/;
- $(INSTALL_DATA) ${DEB_SRCDIR}/KNOWNBUGS ${PKG_DOC}/;
- $(INSTALL_DATA) ${DEB_SRCDIR}/cf/README ${PKG_DOC}/cf.README;
+ $(INSTALL_DATA) ${DEB_SRCDIR}/doc/op/op.ps ${PKG_DOC}/op/
+ $(INSTALL_DATA) ${DEB_SRCDIR}/doc/op/op.txt ${PKG_DOC}/op/
+ $(INSTALL_DATA) ${DEB_SRCDIR}/README ${PKG_DOC}/
+ $(INSTALL_DATA) ${DEB_SRCDIR}/KNOWNBUGS ${PKG_DOC}/
+ $(INSTALL_DATA) ${DEB_SRCDIR}/cf/README ${PKG_DOC}/cf.README
${INSTALL} -d ${PKG_DOC}/sendmail
- $(INSTALL_DATA) ${DEB_SRCDIR}/sendmail/README \
- ${PKG_DOC}/sendmail/;
- $(INSTALL_DATA) ${DEB_SRCDIR}/sendmail/SECURITY \
- ${PKG_DOC}/sendmail/SECURITY; \
- $(INSTALL_DATA) ${DEB_SRCDIR}/sendmail/TRACEFLAGS \
- ${PKG_DOC}/sendmail/TRACEFLAGS;
- $(INSTALL_DATA) ${DEB_SRCDIR}/sendmail/TUNING \
- ${PKG_DOC}/sendmail/TUNING; \
+ $(INSTALL_DATA) ${DEB_SRCDIR}/sendmail/README ${PKG_DOC}/sendmail/
+ $(INSTALL_DATA) ${DEB_SRCDIR}/sendmail/SECURITY ${PKG_DOC}/sendmail/
+ $(INSTALL_DATA) ${DEB_SRCDIR}/sendmail/TRACEFLAGS ${PKG_DOC}/sendmail/
+ $(INSTALL_DATA) ${DEB_SRCDIR}/sendmail/TUNING ${PKG_DOC}/sendmail/
sed -e "s?/usr/libexec?${libexecdir}?g" \
-e "s?/usr/ucb/vacation?${libexecdir}/vacation.sendmail?g" \
-e "s?/usr/adm/sm.bin?/etc/mail/smrsh?g" \
${DEB_SRCDIR}/smrsh/README \
> ${PKG_DOC}/smrsh.README;
- $(INSTALL_DATA) debian/faq.txt ${PKG_DOC}/;
- # libmilter-dev package
+ $(INSTALL_DATA) debian/faq.txt ${PKG_DOC}/
${INSTALL} -d ${PKG_DOC}/libmilter/html
- $(INSTALL_DATA) ${DEB_SRCDIR}/libmilter/README \
- ${PKG_DOC}/libmilter/README; \
- cp -a ${DEB_SRCDIR}/libmilter/docs/* \
- ${PKG_DOC}/libmilter/html; \
+ $(INSTALL_DATA) ${DEB_SRCDIR}/libmilter/README ${PKG_DOC}/libmilter/README
+ cp -a ${DEB_SRCDIR}/libmilter/docs/* ${PKG_DOC}/libmilter/html/
# Debian stuff
- (cd debian/cf && \
- $(MAKE) -f Makefile install-indep \
- DESTDIR="${SRC_DIR}/sendmail-cf";);
- (cd debian/examples && \
- $(MAKE) -f Makefile install-indep \
- DESTDIR="${SRC_DIR}/sendmail-base";);
- (cd debian/local && \
- $(MAKE) -f Makefile install-indep \
- DESTDIR="${SRC_DIR}/sendmail-base";);
+ $(MAKE) -C debian/cf -f Makefile install-indep DESTDIR="${SRC_DIR}/sendmail-cf"
+ $(MAKE) -C debian/examples -f Makefile install-indep DESTDIR="${SRC_DIR}/sendmail-base"
+ $(MAKE) -C debian/local -f Makefile install-indep DESTDIR="${SRC_DIR}/sendmail-base"
#--------------------------------------------------------------------