summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-04-20 05:32:33 +0000
committerKarl Heuer <kwzh@gnu.org>1994-04-20 05:32:33 +0000
commitc6207d0d29923eac4d3a01dff71b33ebc76f0971 (patch)
tree2eb470b36a624b68ff939ea7faa192d5b98004be /lib-src
parent9a8efe67cf7efb228882500b47f87dee68e8a126 (diff)
downloademacs-c6207d0d29923eac4d3a01dff71b33ebc76f0971.tar.gz
(blessmail): New target.
${archlibdir}: Use blessmail when installing movemail.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in24
1 files changed, 23 insertions, 1 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 934298f5375..357670ae224 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -32,6 +32,19 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#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 @@ CPP_CFLAGS = ${C_SWITCH_SYSTEM} ${C_SWITCH_MACHINE} -Demacs -DHAVE_CONFIG_H \
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 @@ ${archlibdir}: all
(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. */