diff options
| author | Glenn Morris | 2012-05-21 21:10:05 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-05-21 21:10:05 -0400 |
| commit | 39078e4aed2ee94d978329e16953b038c919f2e9 (patch) | |
| tree | 782dbd2d2d8dee8a030eeedb6a621b87ffb57419 | |
| parent | 32514cfe6881164095467840fa082b15cc378a7c (diff) | |
| download | emacs-39078e4aed2ee94d978329e16953b038c919f2e9.tar.gz emacs-39078e4aed2ee94d978329e16953b038c919f2e9.zip | |
More small tweaks for Makefile.in
* Makefile.in (blessmail, install-arch-dep, uninstall):
Check cd lib-src works.
(install-arch-dep, uninstall): Remove unneeded subshells.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | Makefile.in | 10 |
2 files changed, 11 insertions, 5 deletions
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-05-22 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (blessmail, install-arch-dep, uninstall): | ||
| 4 | Check cd lib-src works. | ||
| 5 | (install-arch-dep, uninstall): Remove unneeded subshells. | ||
| 6 | |||
| 1 | 2012-05-21 Glenn Morris <rgm@gnu.org> | 7 | 2012-05-21 Glenn Morris <rgm@gnu.org> |
| 2 | 8 | ||
| 3 | * update-subdirs: Move to build-aux/. | 9 | * update-subdirs: Move to build-aux/. |
diff --git a/Makefile.in b/Makefile.in index 763a3644fcd..0043e1b197c 100644 --- a/Makefile.in +++ b/Makefile.in | |||
| @@ -340,7 +340,7 @@ src: Makefile FRC | |||
| 340 | VCSWITNESS="$$vcswitness" | 340 | VCSWITNESS="$$vcswitness" |
| 341 | 341 | ||
| 342 | blessmail: Makefile src FRC | 342 | blessmail: Makefile src FRC |
| 343 | cd lib-src; $(MAKE) maybe-blessmail $(MFLAGS) \ | 343 | cd lib-src && $(MAKE) maybe-blessmail $(MFLAGS) \ |
| 344 | MAKE='${MAKE}' archlibdir='$(archlibdir)' | 344 | MAKE='${MAKE}' archlibdir='$(archlibdir)' |
| 345 | 345 | ||
| 346 | # We used to have one rule per */Makefile.in, but that leads to race | 346 | # We used to have one rule per */Makefile.in, but that leads to race |
| @@ -417,11 +417,11 @@ write_subdir=if [ -f $${subdir}/subdirs.el ]; \ | |||
| 417 | ### Lisp files and DOC file to work properly. | 417 | ### Lisp files and DOC file to work properly. |
| 418 | install-arch-dep: install-arch-indep install-doc | 418 | install-arch-dep: install-arch-indep install-doc |
| 419 | umask 022; ${MKDIR_P} $(DESTDIR)${bindir} | 419 | umask 022; ${MKDIR_P} $(DESTDIR)${bindir} |
| 420 | (cd lib-src; \ | 420 | cd lib-src && \ |
| 421 | $(MAKE) install $(MFLAGS) prefix=${prefix} \ | 421 | $(MAKE) install $(MFLAGS) prefix=${prefix} \ |
| 422 | exec_prefix=${exec_prefix} bindir=${bindir} \ | 422 | exec_prefix=${exec_prefix} bindir=${bindir} \ |
| 423 | libexecdir=${libexecdir} archlibdir=${archlibdir} \ | 423 | libexecdir=${libexecdir} archlibdir=${archlibdir} \ |
| 424 | INSTALL_STRIP=${INSTALL_STRIP}) | 424 | INSTALL_STRIP=${INSTALL_STRIP} |
| 425 | if test "${ns_self_contained}" = "no"; then \ | 425 | if test "${ns_self_contained}" = "no"; then \ |
| 426 | ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs${EXEEXT} $(DESTDIR)${bindir}/$(EMACSFULL) || exit 1 ; \ | 426 | ${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs${EXEEXT} $(DESTDIR)${bindir}/$(EMACSFULL) || exit 1 ; \ |
| 427 | chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL) ; \ | 427 | chmod 1755 $(DESTDIR)${bindir}/$(EMACSFULL) ; \ |
| @@ -630,10 +630,10 @@ install-strip: | |||
| 630 | ### | 630 | ### |
| 631 | ### Don't delete the lisp and etc directories if they're in the source tree. | 631 | ### Don't delete the lisp and etc directories if they're in the source tree. |
| 632 | uninstall: | 632 | uninstall: |
| 633 | (cd lib-src; \ | 633 | cd lib-src && \ |
| 634 | $(MAKE) $(MFLAGS) uninstall \ | 634 | $(MAKE) $(MFLAGS) uninstall \ |
| 635 | prefix=${prefix} exec_prefix=${exec_prefix} \ | 635 | prefix=${prefix} exec_prefix=${exec_prefix} \ |
| 636 | bindir=${bindir} libexecdir=${libexecdir} archlibdir=${archlibdir}) | 636 | bindir=${bindir} libexecdir=${libexecdir} archlibdir=${archlibdir} |
| 637 | -unset CDPATH; \ | 637 | -unset CDPATH; \ |
| 638 | for dir in $(DESTDIR)${lispdir} $(DESTDIR)${etcdir} ; do \ | 638 | for dir in $(DESTDIR)${lispdir} $(DESTDIR)${etcdir} ; do \ |
| 639 | if [ -d $${dir} ]; then \ | 639 | if [ -d $${dir} ]; then \ |