aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2013-03-18 14:02:34 -0700
committerPaul Eggert2013-03-18 14:02:34 -0700
commit4c9a13778214563f07bcc8e73ef4ebbba7d8a589 (patch)
treed9966a21fa4d62ac403edff7954ba7a322e65ecc
parent2aa2157b567231863783b32707c83d5a0f681ca0 (diff)
downloademacs-4c9a13778214563f07bcc8e73ef4ebbba7d8a589.tar.gz
emacs-4c9a13778214563f07bcc8e73ef4ebbba7d8a589.zip
Fix bug when building Emacs with a GNU Make submake.
* Makefile.in (QUIET_SUBMAKE): New macro. (install-info, uninstall): Use it. Fixes: debbugs:13962
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.in10
2 files changed, 12 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 570c38ae2c5..f8ee8d441ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
12013-03-18 Paul Eggert <eggert@cs.ucla.edu> 12013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 Fix bug when building Emacs with a GNU Make submake (Bug#13962).
4 * Makefile.in (QUIET_SUBMAKE): New macro.
5 (install-info, uninstall): Use it.
6
3 Emacs crashes with ImageMagick 6.8.2-3 through 6.8.3-9 (Bug#13867). 7 Emacs crashes with ImageMagick 6.8.2-3 through 6.8.3-9 (Bug#13867).
4 * configure.ac (IMAGEMAGICK_MODULE): Reject 6.8.2. 8 * configure.ac (IMAGEMAGICK_MODULE): Reject 6.8.2.
5 We want to reject 6.8.2-3 through 6.8.3-9, but there seems to be 9 We want to reject 6.8.2-3 through 6.8.3-9, but there seems to be
diff --git a/Makefile.in b/Makefile.in
index b112c6abf11..bd77fa6a70d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -67,6 +67,10 @@ CDPATH=
67# If Make doesn't predefine MAKE, set it here. 67# If Make doesn't predefine MAKE, set it here.
68@SET_MAKE@ 68@SET_MAKE@
69 69
70# Prevent submakes from outputting "Entering directory ..." and
71# "Leaving directory..." diagnostics that would mess up 'make echo-info'.
72QUIET_SUBMAKE = MAKELEVEL=0
73
70# ==================== Things `configure' Might Edit ==================== 74# ==================== Things `configure' Might Edit ====================
71 75
72cache_file = @cache_file@ 76cache_file = @cache_file@
@@ -609,7 +613,9 @@ install-info: info
609 [ -f dir ] || \ 613 [ -f dir ] || \
610 (cd $${thisdir}; \ 614 (cd $${thisdir}; \
611 ${INSTALL_DATA} ${srcdir}/info/dir $(DESTDIR)${infodir}/dir) ; \ 615 ${INSTALL_DATA} ${srcdir}/info/dir $(DESTDIR)${infodir}/dir) ; \
612 info_misc=`cd $${thisdir}/doc/misc; ${MAKE} -s echo-info`; \ 616 info_misc=`cd $${thisdir}/doc/misc && \
617 $(QUIET_SUBMAKE) $(MAKE) -s echo-info \
618 `; \
613 cd ${srcdir}/info ; \ 619 cd ${srcdir}/info ; \
614 for elt in ${INFO_NONMISC} $${info_misc}; do \ 620 for elt in ${INFO_NONMISC} $${info_misc}; do \
615 test "$(HAVE_MAKEINFO)" = "no" && test ! -f $$elt && continue; \ 621 test "$(HAVE_MAKEINFO)" = "no" && test ! -f $$elt && continue; \
@@ -702,7 +708,7 @@ uninstall:
702 done 708 done
703 -rm -rf $(DESTDIR)${libexecdir}/emacs/${version} 709 -rm -rf $(DESTDIR)${libexecdir}/emacs/${version}
704 thisdir=`/bin/pwd`; \ 710 thisdir=`/bin/pwd`; \
705 (info_misc=`cd doc/misc; ${MAKE} -s echo-info`; \ 711 (info_misc=`cd doc/misc && $(QUIET_SUBMAKE) $(MAKE) -s echo-info`; \
706 if cd $(DESTDIR)${infodir}; then \ 712 if cd $(DESTDIR)${infodir}; then \
707 for elt in ${INFO_NONMISC} $${info_misc}; do \ 713 for elt in ${INFO_NONMISC} $${info_misc}; do \
708 (cd $${thisdir}; \ 714 (cd $${thisdir}; \