emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master fec9b79: Clarify 'make info'


From: Paul Eggert
Subject: [Emacs-diffs] master fec9b79: Clarify 'make info'
Date: Sun, 04 Jan 2015 03:12:30 +0000

branch: master
commit fec9b792f543c35b1a635b3a3326d496e3ca9012
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Clarify 'make info'
    
    * Makefile.in (info): Use GNU make conditional rather than
    an '@' rule with a shell conditional, so that the builder can
    see the submake.
---
 ChangeLog   |    5 +++++
 Makefile.in |    8 +++-----
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9207bd5..68d1391 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2015-01-04  Paul Eggert  <address@hidden>
 
+       Clarify 'make info'
+       * Makefile.in (info): Use GNU make conditional rather than
+       an '@' rule with a shell conditional, so that the builder can
+       see the submake.
+
        Less 'make' chatter for VCSWITNESS
        * Makefile.in (dirstate, VCSWITNESS): New macros.
        (src): Use them to lessen 'make' chatter.
diff --git a/Makefile.in b/Makefile.in
index 7b271f1..4cdd293 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1043,11 +1043,9 @@ uninstall-ps: $(UNINSTALL_PS)
 # and it's not worth it.  This case is only relevant if you download a
 # release, then change the .texi files.
 info:
-       @if test "$(HAVE_MAKEINFO)" = "no"; then \
-         echo "Configured --without-makeinfo, not building manuals" ; \
-       else \
-         $(MAKE) info-real info-dir; \
-       fi
+  ifneq ($(HAVE_MAKEINFO),no)
+       $(MAKE) info-real info-dir
+  endif
 
 ## build-aux/make-info-dir expects only certain dircategories.
 check-info: info



reply via email to

[Prev in Thread] Current Thread [Next in Thread]