aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-08-29 02:18:03 +0000
committerGlenn Morris2009-08-29 02:18:03 +0000
commitffd8aba987e020c7b272766a60de9e7ff5f1dd28 (patch)
tree38a239770483f5db6a874f5673fc29c17fc2b590
parentefbc652a8f2fece5ddb2b971444155d9bfd20cad (diff)
downloademacs-ffd8aba987e020c7b272766a60de9e7ff5f1dd28.tar.gz
emacs-ffd8aba987e020c7b272766a60de9e7ff5f1dd28.zip
(info-real): Don't ignore errors from doc Makefiles.
(info): Don't give an error in the absence of makeinfo - let the doc Makefiles do that, if the info files need rebuilding. (Bug#3982)
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.in23
2 files changed, 20 insertions, 9 deletions
diff --git a/ChangeLog b/ChangeLog
index adf190621ed..ceddd01aa06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
12009-08-29 Glenn Morris <rgm@gnu.org>
2
3 * Makefile.in (info-real): Don't ignore errors from doc Makefiles.
4 (info): Don't give an error in the absence of makeinfo - let the doc
5 Makefiles do that, if the info files need rebuilding. (Bug#3982)
6
12009-08-23 Ken Raeburn <raeburn@raeburn.org> 72009-08-23 Ken Raeburn <raeburn@raeburn.org>
2 8
3 * Makefile.in (install-arch-indep): If the versioned DOC-#### 9 * Makefile.in (install-arch-indep): If the versioned DOC-####
diff --git a/Makefile.in b/Makefile.in
index a3ddec80253..82b0746babc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -807,21 +807,26 @@ dist:
807.PHONY: info dvi dist check html 807.PHONY: info dvi dist check html
808 808
809info-real: 809info-real:
810 -(cd doc/emacs; $(MAKE) $(MFLAGS) info) 810 (cd doc/emacs; $(MAKE) $(MFLAGS) info)
811 -(cd doc/misc; $(MAKE) $(MFLAGS) info) 811 (cd doc/misc; $(MAKE) $(MFLAGS) info)
812 -(cd doc/lispref; $(MAKE) $(MFLAGS) info) 812 (cd doc/lispref; $(MAKE) $(MFLAGS) info)
813 -(cd doc/lispintro; $(MAKE) $(MFLAGS) info) 813 (cd doc/lispintro; $(MAKE) $(MFLAGS) info)
814 814
815force-info: 815force-info:
816# Note that man/Makefile knows how to 816# Note that man/Makefile knows how to put the info files in $(srcdir),
817# put the info files in $(srcdir),
818# so we can do ok running make in the build dir. 817# so we can do ok running make in the build dir.
818# This used to have a clause that exited with an error if MAKEINFO = no.
819# But it is inappropriate to do so without checking if makeinfo is
820# actually needed - it is not if the info files are up-to-date. (Bug#3982)
821# Only the doc/*/Makefiles can decide that, so we let those rules run
822# and give a standard error if makeinfo is needed but missing.
823# While it would be nice to give a more detailed error message, that
824# would require changing every rule in doc/ that builds an info file,
825# and it's not worth it. This case is only relevant if you download a
826# release, then change the .texi files.
819info: force-info 827info: force-info
820 @if test "$(MAKEINFO)" = "off"; then \ 828 @if test "$(MAKEINFO)" = "off"; then \
821 echo "Configured --without-makeinfo, not building manuals" ; \ 829 echo "Configured --without-makeinfo, not building manuals" ; \
822 elif test "$(MAKEINFO)" = "no"; then \
823 echo "makeinfo is missing - cannot build manuals" ; \
824 exit 1 ; \
825 else \ 830 else \
826 $(MAKE) $(MFLAGS) info-real ; \ 831 $(MAKE) $(MFLAGS) info-real ; \
827 fi 832 fi