]> sjero.net Git - wget/commitdiff
[svn] Don't attempt to use Emacs as a susbtitute for makeinfo.
authorhniksic <devnull@localhost>
Sun, 9 Nov 2003 00:24:56 +0000 (16:24 -0800)
committerhniksic <devnull@localhost>
Sun, 9 Nov 2003 00:24:56 +0000 (16:24 -0800)
ChangeLog
configure.in
doc/Makefile.in

index 7b03e9d45f6b8ce2d07d819fd022101ddb46c728..4075d74b75cf15515ba4ad08c4b806aa96f80598 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-09  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * configure.in: Don't attempt to use Emacs as a makeinfo
+       substitute.
+
 2003-11-07  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * README: Remove explicit version reference, so that the file
index 98e673e3cf2920bdf36324bf8946e77f21dbdcef..822cc1eb073f6ae4d0d496fe96b83e7a3178c2e7 100644 (file)
@@ -546,17 +546,14 @@ dnl internationalization macros
 WGET_WITH_NLS
 
 dnl
-dnl Find makeinfo.  If makeinfo is not found, look for Emacs.  If
-dnl Emacs cannot be found, look for XEmacs.
+dnl Find makeinfo.  We used to provide support for Emacs processing
+dnl Texinfo using `emacs -batch -eval ...' where makeinfo is
+dnl unavailable, but that broke with the addition of makeinfo-specific
+dnl command-line options, such as `-I'.  Now we depend on makeinfo to
+dnl build the Info documentation.
 dnl
 
-AC_CHECK_PROGS(MAKEINFO, makeinfo emacs xemacs)
-
-case "${MAKEINFO}" in
-   *makeinfo) MAKEINFO="${MAKEINFO} \$(srcdir)/wget.texi"  ;;
-   *emacs | *xemacs) MAKEINFO="${MAKEINFO} -batch -q -no-site-file -eval '(find-file \"\$(srcdir)/wget.texi\")' -l texinfmt -f texinfo-format-buffer -f save-buffer"  ;;
-   *) MAKEINFO="makeinfo \$(srcdir)/wget.texi"            ;;
-esac
+AC_CHECK_PROGS(MAKEINFO, makeinfo)
 
 dnl
 dnl Find perl and pod2man
index 06f22a48e898a45129135d1c40a92639b4bb9fd0..92c3b04e937f68d7fd0152e95f684daf826d3dab 100644 (file)
@@ -65,8 +65,8 @@ everything: all wget_us.ps wget_a4.ps wget_toc.html
 $(SAMPLERCTEXI): $(srcdir)/sample.wgetrc
        sed s/@/@@/g $? > $@
 
-wget.info: $(SAMPLERCTEXI) $(srcdir)/wget.texi
-       $(MAKEINFO) -I$(srcdir)
+wget.info: $(srcdir)/wget.texi $(SAMPLERCTEXI)
+       $(MAKEINFO) -I$(srcdir) $<
 
 $(TEXI2POD): $(TEXI2POD).in
        sed 's,^#! /usr/bin/perl,#! @PERL@,' $? > $@