diff options
| author | Karl Heuer | 1994-04-20 05:32:33 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-04-20 05:32:33 +0000 |
| commit | c6207d0d29923eac4d3a01dff71b33ebc76f0971 (patch) | |
| tree | 2eb470b36a624b68ff939ea7faa192d5b98004be /lib-src/Makefile.in | |
| parent | 9a8efe67cf7efb228882500b47f87dee68e8a126 (diff) | |
| download | emacs-c6207d0d29923eac4d3a01dff71b33ebc76f0971.tar.gz emacs-c6207d0d29923eac4d3a01dff71b33ebc76f0971.zip | |
(blessmail): New target.
${archlibdir}: Use blessmail when installing movemail.
Diffstat (limited to 'lib-src/Makefile.in')
| -rw-r--r-- | lib-src/Makefile.in | 24 |
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. */ | |||
| 32 | #define LIBS_MACHINE | 32 | #define LIBS_MACHINE |
| 33 | #endif | 33 | #endif |
| 34 | 34 | ||
| 35 | #undef MOVEMAIL_NEEDS_BLESSING | ||
| 36 | #ifndef MAIL_USE_FLOCK | ||
| 37 | #ifndef MAIL_USE_LOCKF | ||
| 38 | #define MOVEMAIL_NEEDS_BLESSING | ||
| 39 | #endif | ||
| 40 | #endif | ||
| 41 | |||
| 42 | #ifdef MOVEMAIL_NEEDS_BLESSING | ||
| 43 | #define BLESSMAIL blessmail | ||
| 44 | #else | ||
| 45 | #define BLESSMAIL | ||
| 46 | #endif | ||
| 47 | |||
| 35 | /* Avoid trouble on systems where the `SHELL' variable might be | 48 | /* Avoid trouble on systems where the `SHELL' variable might be |
| 36 | inherited from the environment. */ | 49 | inherited from the environment. */ |
| 37 | SHELL = /bin/sh | 50 | SHELL = /bin/sh |
| @@ -139,9 +152,15 @@ CPP_CFLAGS = ${C_SWITCH_SYSTEM} ${C_SWITCH_MACHINE} -Demacs -DHAVE_CONFIG_H \ | |||
| 139 | 152 | ||
| 140 | all: ${UTILITIES} ${INSTALLABLES} | 153 | all: ${UTILITIES} ${INSTALLABLES} |
| 141 | 154 | ||
| 155 | #ifdef MOVEMAIL_NEEDS_BLESSING | ||
| 156 | blessmail: ../src/temacs | ||
| 157 | ../src/temacs -batch -l blessmail.el | ||
| 158 | chmod +x blessmail | ||
| 159 | #endif | ||
| 160 | |||
| 142 | /* Install the internal utilities. Until they are installed, we can | 161 | /* Install the internal utilities. Until they are installed, we can |
| 143 | just run them directly from lib-src. */ | 162 | just run them directly from lib-src. */ |
| 144 | ${archlibdir}: all | 163 | ${archlibdir}: all BLESSMAIL |
| 145 | @echo | 164 | @echo |
| 146 | @echo "Installing utilities run internally by Emacs." | 165 | @echo "Installing utilities run internally by Emacs." |
| 147 | ./make-path ${archlibdir} | 166 | ./make-path ${archlibdir} |
| @@ -153,6 +172,9 @@ ${archlibdir}: all | |||
| 153 | (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \ | 172 | (cd ..; $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file); \ |
| 154 | done ; \ | 173 | done ; \ |
| 155 | fi | 174 | fi |
| 175 | #ifdef MOVEMAIL_NEEDS_BLESSING | ||
| 176 | ./blessmail ${archlibdir}/movemail | ||
| 177 | #endif | ||
| 156 | 178 | ||
| 157 | /* We don't need to install `wakeup' explicitly, because it will be | 179 | /* We don't need to install `wakeup' explicitly, because it will be |
| 158 | copied when this whole directory is copied. */ | 180 | copied when this whole directory is copied. */ |