Mercurial > emacs
comparison lib-src/Makefile.in @ 6978:8cc5f63e8907
(blessmail): New target.
${archlibdir}: Use blessmail when installing movemail.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 20 Apr 1994 05:32:33 +0000 |
parents | ffd959526822 |
children | 0f0d9a0f6c4b |
comparison
equal
deleted
inserted
replaced
6977:6081a7b2a06f | 6978:8cc5f63e8907 |
---|---|
28 #endif | 28 #endif |
29 | 29 |
30 /* Some m/*.h files define this to request special libraries. */ | 30 /* Some m/*.h files define this to request special libraries. */ |
31 #ifndef LIBS_MACHINE | 31 #ifndef LIBS_MACHINE |
32 #define LIBS_MACHINE | 32 #define LIBS_MACHINE |
33 #endif | |
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 | |
33 #endif | 46 #endif |
34 | 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 |
137 .c.o: | 150 .c.o: |
138 ${CC} -c ${CPP_CFLAGS} $< | 151 ${CC} -c ${CPP_CFLAGS} $< |
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} |
148 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ | 167 if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ |
149 for file in ${UTILITIES}; do \ | 168 for file in ${UTILITIES}; do \ |
151 done ; \ | 170 done ; \ |
152 for file in ${SCRIPTS}; do \ | 171 for file in ${SCRIPTS}; do \ |
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. */ |
159 install: ${archlibdir} | 181 install: ${archlibdir} |
160 @echo | 182 @echo |