]> git.eshelyaron.com Git - emacs.git/commitdiff
Clarify 'make info'
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Jan 2015 03:11:50 +0000 (19:11 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 4 Jan 2015 03:12:25 +0000 (19:12 -0800)
* Makefile.in (info): Use GNU make conditional rather than
an '@' rule with a shell conditional, so that the builder can
see the submake.

ChangeLog
Makefile.in

index 9207bd5f104230332bee1e05d38c09a91c0281f0..68d1391b96aae1fc9eced6f61851b5dae29e1bc5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2015-01-04  Paul Eggert  <eggert@cs.ucla.edu>
 
+       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.
index 7b271f124241a3ed8ebf52565ebbd277218ce469..4cdd293ebd4e4eac016879b42243b78efc2b9a8c 100644 (file)
@@ -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