diff options
| author | Miles Bader | 2006-03-09 07:15:37 +0000 |
|---|---|---|
| committer | Miles Bader | 2006-03-09 07:15:37 +0000 |
| commit | b1af5d6a27620aacc93a9a34bc242488c15e668b (patch) | |
| tree | 6f6fe2a93497d6149a5deb60dbd3e204315ed31b /lib-src | |
| parent | 845df8100b62cafb758936ff333a0a1088d2220f (diff) | |
| parent | 61e66a158a521e1ebdaa2e547dcc98d383674a75 (diff) | |
| download | emacs-b1af5d6a27620aacc93a9a34bc242488c15e668b.tar.gz emacs-b1af5d6a27620aacc93a9a34bc242488c15e668b.zip | |
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-40
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 135-143)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 49-55)
- Merge from emacs--devo--0
- Update from CVS
- Update from CVS: Makefile.in (release-*): New targets.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/Makefile.in | 44 |
2 files changed, 27 insertions, 22 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index df8639f31fa..e4e74030200 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-02-23 Claudio Fontana <claudio@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (install, uninstall): Add DESTDIR variable to | ||
| 4 | support staged installations. | ||
| 5 | |||
| 1 | 2005-12-30 Eli Zaretskii <eliz@gnu.org> | 6 | 2005-12-30 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc. | 8 | * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc. |
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 33af87019e0..85a7c13c95a 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in | |||
| @@ -285,11 +285,11 @@ blessmail: | |||
| 285 | maybe-blessmail: BLESSMAIL | 285 | maybe-blessmail: BLESSMAIL |
| 286 | #ifdef MOVEMAIL_NEEDS_BLESSING | 286 | #ifdef MOVEMAIL_NEEDS_BLESSING |
| 287 | /* Don\'t charge ahead and do it! Let the installer decide. | 287 | /* Don\'t charge ahead and do it! Let the installer decide. |
| 288 | ./blessmail ${archlibdir}/movemail${EXEEXT} */ | 288 | ./blessmail $(DESTDIR)${archlibdir}/movemail${EXEEXT} */ |
| 289 | @if [ `wc -l <blessmail` != 2 ] ; then \ | 289 | @if [ `wc -l <blessmail` != 2 ] ; then \ |
| 290 | dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ | 290 | dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \ |
| 291 | echo Assuming $$dir is really the mail spool directory, you should; \ | 291 | echo Assuming $$dir is really the mail spool directory, you should; \ |
| 292 | echo run lib-src/blessmail ${archlibdir}/movemail${EXEEXT}; \ | 292 | echo run lib-src/blessmail $(DESTDIR)${archlibdir}/movemail${EXEEXT}; \ |
| 293 | echo as root, to give movemail${EXEEXT} appropriate permissions.; \ | 293 | echo as root, to give movemail${EXEEXT} appropriate permissions.; \ |
| 294 | echo Do that after running make install.; \ | 294 | echo Do that after running make install.; \ |
| 295 | fi | 295 | fi |
| @@ -297,50 +297,50 @@ maybe-blessmail: BLESSMAIL | |||
| 297 | 297 | ||
| 298 | /* Install the internal utilities. Until they are installed, we can | 298 | /* Install the internal utilities. Until they are installed, we can |
| 299 | just run them directly from lib-src. */ | 299 | just run them directly from lib-src. */ |
| 300 | ${archlibdir}: all | 300 | $(DESTDIR)${archlibdir}: all |
| 301 | @echo | 301 | @echo |
| 302 | @echo "Installing utilities run internally by Emacs." | 302 | @echo "Installing utilities run internally by Emacs." |
| 303 | $(top_srcdir)/mkinstalldirs ${archlibdir} | 303 | $(top_srcdir)/mkinstalldirs $(DESTDIR)${archlibdir} |
| 304 | if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ | 304 | if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \ |
| 305 | for file in ${UTILITIES}; do \ | 305 | for file in ${UTILITIES}; do \ |
| 306 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file ${archlibdir}/$$file ; \ | 306 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file $(DESTDIR)${archlibdir}/$$file ; \ |
| 307 | done ; \ | 307 | done ; \ |
| 308 | fi | 308 | fi |
| 309 | $(top_srcdir)/mkinstalldirs ${gamedir} | 309 | $(top_srcdir)/mkinstalldirs $(DESTDIR)${gamedir} |
| 310 | touch ${gamedir}/snake-scores | 310 | touch $(DESTDIR)${gamedir}/snake-scores |
| 311 | touch ${gamedir}/tetris-scores | 311 | touch $(DESTDIR)${gamedir}/tetris-scores |
| 312 | /* If the following commands fail, that is not a big deal. | 312 | /* If the following commands fail, that is not a big deal. |
| 313 | update-game-score will detect at runtime that it is not setuid, | 313 | update-game-score will detect at runtime that it is not setuid, |
| 314 | and handle things accordingly. */ | 314 | and handle things accordingly. */ |
| 315 | -if chown ${gameuser} ${archlibdir}/update-game-score && chmod u+s ${archlibdir}/update-game-score; then \ | 315 | -if chown ${gameuser} $(DESTDIR)${archlibdir}/update-game-score && chmod u+s $(DESTDIR)${archlibdir}/update-game-score; then \ |
| 316 | chown ${gameuser} ${gamedir}; \ | 316 | chown ${gameuser} $(DESTDIR)${gamedir}; \ |
| 317 | chmod u=rwx,g=rwx,o=rx ${gamedir}; \ | 317 | chmod u=rwx,g=rwx,o=rx $(DESTDIR)${gamedir}; \ |
| 318 | fi | 318 | fi |
| 319 | if [ `(cd ${archlibdir} && /bin/pwd)` \ | 319 | if [ `(cd $(DESTDIR)${archlibdir} && /bin/pwd)` \ |
| 320 | != `(cd ${srcdir} && /bin/pwd)` ]; then \ | 320 | != `(cd ${srcdir} && /bin/pwd)` ]; then \ |
| 321 | for file in ${SCRIPTS}; do \ | 321 | for file in ${SCRIPTS}; do \ |
| 322 | $(INSTALL_PROGRAM) ${srcdir}/$$file ${archlibdir}/$$file; \ | 322 | $(INSTALL_PROGRAM) ${srcdir}/$$file $(DESTDIR)${archlibdir}/$$file; \ |
| 323 | done ; \ | 323 | done ; \ |
| 324 | fi | 324 | fi |
| 325 | 325 | ||
| 326 | install: ${archlibdir} | 326 | install: $(DESTDIR)${archlibdir} |
| 327 | @echo | 327 | @echo |
| 328 | @echo "Installing utilities for users to run." | 328 | @echo "Installing utilities for users to run." |
| 329 | for file in ${INSTALLABLES} ; do \ | 329 | for file in ${INSTALLABLES} ; do \ |
| 330 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ | 330 | $(INSTALL_PROGRAM) $(INSTALL_STRIP) $${file} $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
| 331 | chmod a+rx ${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ | 331 | chmod a+rx $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ |
| 332 | done | 332 | done |
| 333 | for file in ${INSTALLABLE_SCRIPTS} ; do \ | 333 | for file in ${INSTALLABLE_SCRIPTS} ; do \ |
| 334 | $(INSTALL_PROGRAM) ${srcdir}/$${file} ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ | 334 | $(INSTALL_PROGRAM) ${srcdir}/$${file} $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
| 335 | chmod a+rx ${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ | 335 | chmod a+rx $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'`; \ |
| 336 | done | 336 | done |
| 337 | 337 | ||
| 338 | uninstall: | 338 | uninstall: |
| 339 | (cd ${bindir}; \ | 339 | (cd $(DESTDIR)${bindir}; \ |
| 340 | for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}; do \ | 340 | for file in ${INSTALLABLES} ${INSTALLABLE_SCRIPTS}; do \ |
| 341 | rm -f ${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ | 341 | rm -f $(DESTDIR)${bindir}/`echo $${file} | sed '$(TRANSFORM)'` ; \ |
| 342 | done) | 342 | done) |
| 343 | (cd ${archlibdir}; \ | 343 | (cd $(DESTDIR)${archlibdir}; \ |
| 344 | rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) | 344 | rm -f ${UTILITIES} ${INSTALLABLES} ${SCRIPTS} ${INSTALLABLE_SCRIPTS}) |
| 345 | 345 | ||
| 346 | mostlyclean: | 346 | mostlyclean: |