comparison lib-src/Makefile.in.in @ 183:e121b013d1f0 r20-3b18

Import from CVS: tag r20-3b18
author cvs
date Mon, 13 Aug 2007 09:54:23 +0200
parents bfd6434d15b3
children f53b5ca2e663
comparison
equal deleted inserted replaced
182:f07455f06202 183:e121b013d1f0
47 exec_prefix=@exec_prefix@ 47 exec_prefix=@exec_prefix@
48 bindir=@bindir@ 48 bindir=@bindir@
49 libdir=@libdir@ 49 libdir=@libdir@
50 srcdir=@srcdir@ 50 srcdir=@srcdir@
51 archlibdir=@archlibdir@ 51 archlibdir=@archlibdir@
52 52 configuration=@configuration@
53 ## ==================== Utility Programs for the Build ================= 53 ## ==================== Utility Programs for the Build =================
54 54
55 INSTALL = @INSTALL@ 55 INSTALL = @INSTALL@
56 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 56 INSTALL_PROGRAM = @INSTALL_PROGRAM@
57 INSTALL_DATA = @INSTALL_DATA@ 57 INSTALL_DATA = @INSTALL_DATA@
176 #undef MOVEMAIL_NEEDS_BLESSING 176 #undef MOVEMAIL_NEEDS_BLESSING
177 #if !defined (MAIL_USE_FLOCK) && ! defined (MAIL_USE_LOCKF) 177 #if !defined (MAIL_USE_FLOCK) && ! defined (MAIL_USE_LOCKF)
178 #define MOVEMAIL_NEEDS_BLESSING 178 #define MOVEMAIL_NEEDS_BLESSING
179 blessmail = blessmail 179 blessmail = blessmail
180 blessmail: 180 blessmail:
181 ../src/emacs -batch -l ../lisp/blessmail.el 181 ../src/xemacs -batch -l ../lisp/utils/blessmail.el
182 chmod +x $@ 182 chmod +x $@
183 #endif /* movemail needs blessing */ 183 #endif /* movemail needs blessing */
184 184
185 maybe-blessmail: $(blessmail) 185 maybe-blessmail: $(blessmail)
186 #ifdef MOVEMAIL_NEEDS_BLESSING 186 #ifdef MOVEMAIL_NEEDS_BLESSING
187 ## Do not charge ahead and do it! Let the installer decide. 187 ## Do not charge ahead and do it! Let the installer decide.
188 ./blessmail ${archlibdir}/movemail */ 188 ## ./blessmail ${archlibdir}/movemail
189 @if test `wc -l <blessmail` != 2; then \ 189 @if test `wc -l <blessmail` != 2; then \
190 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ 190 dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \
191 echo "Assuming $$dir is really the mail spool directory, you should"; \ 191 echo "*************************************************************";\
192 echo "Assuming $$dir is really the mail spool directory, you should";\
192 echo "run lib-src/blessmail ${archlibdir}/movemail"; \ 193 echo "run lib-src/blessmail ${archlibdir}/movemail"; \
193 echo "as root, to give movemail appropriate permissions."; \ 194 echo "as root, to give movemail appropriate permissions."; \
194 echo "Do that after running make install."; \ 195 echo "Do that after running make install."; \
196 echo "You can also do make blessmail. "; \
197 echo "*************************************************************";\
195 fi 198 fi
199 #endif
200
201 do-blessmail: $(blessmail)
202 #ifdef MOVEMAIL_NEEDS_BLESSING
203 ./blessmail ${archlibdir}/movemail
196 #endif 204 #endif
197 205
198 ## Install the internal utilities. Until they are installed, we can 206 ## Install the internal utilities. Until they are installed, we can
199 ## just run them directly from lib-src. 207 ## just run them directly from lib-src.
200 ${archlibdir}: all 208 ${archlibdir}: all