# HG changeset patch # User Karl Heuer # Date 766819953 0 # Node ID 8cc5f63e8907a1ad4b47bd9f2a31f38aaebe2e8a # Parent 6081a7b2a06f08c852acc4b933f95154fbb5d901 (blessmail): New target. ${archlibdir}: Use blessmail when installing movemail. diff -r 6081a7b2a06f -r 8cc5f63e8907 lib-src/Makefile.in --- a/lib-src/Makefile.in Wed Apr 20 05:22:51 1994 +0000 +++ b/lib-src/Makefile.in Wed Apr 20 05:32:33 1994 +0000 @@ -32,6 +32,19 @@ #define LIBS_MACHINE #endif +#undef MOVEMAIL_NEEDS_BLESSING +#ifndef MAIL_USE_FLOCK +#ifndef MAIL_USE_LOCKF +#define MOVEMAIL_NEEDS_BLESSING +#endif +#endif + +#ifdef MOVEMAIL_NEEDS_BLESSING +#define BLESSMAIL blessmail +#else +#define BLESSMAIL +#endif + /* Avoid trouble on systems where the `SHELL' variable might be inherited from the environment. */ SHELL = /bin/sh @@ -139,9 +152,15 @@ all: ${UTILITIES} ${INSTALLABLES} +#ifdef MOVEMAIL_NEEDS_BLESSING +blessmail: ../src/temacs + ../src/temacs -batch -l blessmail.el + chmod +x blessmail +#endif + /* Install the internal utilities. Until they are installed, we can just run them directly from lib-src. */ -${archlibdir}: all +${archlibdir}: all BLESSMAIL @echo @echo "Installing utilities run internally by Emacs." ./make-path ${archlibdir} @@ -153,6 +172,9 @@ (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \ done ; \ fi +#ifdef MOVEMAIL_NEEDS_BLESSING + ./blessmail ${archlibdir}/movemail +#endif /* We don't need to install `wakeup' explicitly, because it will be copied when this whole directory is copied. */