You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.3 KiB

  1. --- a/sendmail/Makefile.m4
  2. +++ b/sendmail/Makefile.m4
  3. @@ -71,6 +71,7 @@ install-set-user-id: bldCURRENT_PRODUCT
  4. ${INSTALL} -c -o ${S`'BINOWN} -g ${S`'BINGRP} -m ${S`'BINMODE} bldCURRENT_PRODUCT ${DESTDIR}${M`'BINDIR}
  5. for i in ${sendmailTARGET_LINKS}; do \
  6. rm -f $$i; \
  7. + mkdir -p $$(dirname $$i); \
  8. ${LN} ${LNOPTS} ${M`'BINDIR}/sendmail $$i; \
  9. done
  10. @@ -79,6 +80,7 @@ install-sm-mta: bldCURRENT_PRODUCT
  11. ${INSTALL} -c -o ${M`'BINOWN} -g ${M`'BINGRP} -m ${M`'BINMODE} bldCURRENT_PRODUCT ${DESTDIR}${M`'BINDIR}/sm-mta
  12. for i in confMTA_LINKS; do \
  13. rm -f $$i; \
  14. + mkdir -p $$(dirname $$i); \
  15. ${LN} ${LNOPTS} ${M`'BINDIR}/sm-mta $$i; \
  16. done
  17. --- a/devtools/M4/UNIX/links.m4
  18. +++ b/devtools/M4/UNIX/links.m4
  19. @@ -23,6 +23,7 @@ define(`bldMAKE_SOURCE_LINKS',
  20. define(`bldMAKE_TARGET_LINKS',
  21. ` for i in $2; do \
  22. rm -f $$i; \
  23. + mkdir -p $$(dirname $$i); \
  24. ln -s $1 $$i; \
  25. done'
  26. )dnl
  27. --- a/cf/cf/Makefile
  28. +++ b/cf/cf/Makefile
  29. @@ -80,9 +80,11 @@ install:
  30. install-cf: install-sendmail-cf install-submit-cf
  31. install-sendmail-cf: $(CF).cf
  32. + mkdir -p ${DESTDIR}$(MAILDIR)
  33. $(INSTALL) -c -m $(CFMODE) $(CF).cf ${DESTDIR}$(MAILDIR)/sendmail.cf
  34. install-submit-cf: $(SUBMIT).cf
  35. + mkdir -p ${DESTDIR}$(MAILDIR)
  36. $(INSTALL) -c -m $(CFMODE) $(SUBMIT).cf ${DESTDIR}$(MAILDIR)/submit.cf
  37. depend: