bug-gnulib
[Top][All Lists]
Advanced

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

Error in make info


From: Neil Jerram
Subject: Error in make info
Date: Fri, 05 Jun 2009 23:46:53 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Running `make info dvi' after a git pull just now:

make info dvi
cd doc && make info && make mostlyclean
make[1]: Entering directory `/home/neil/SW/gnulib/doc'
LANG= LC_MESSAGES= LC_ALL= LANGUAGE= makeinfo --no-split --reference-limit=2000 
gnulib.texi
/home/neil/SW/gnulib/doc//ld-output-def.texi:22: Misplaced {.
/home/neil/SW/gnulib/doc//ld-output-def.texi:23: Misplaced {.
/home/neil/SW/gnulib/doc//ld-output-def.texi:23: Misplaced }.
/home/neil/SW/gnulib/doc//ld-output-def.texi:24: Misplaced }.
makeinfo: Removing output file `/home/neil/SW/gnulib/doc/gnulib.info' due to 
errors; use --force to preserve.
make[1]: *** [gnulib.info] Error 1
make[1]: Leaving directory `/home/neil/SW/gnulib/doc'
make: *** [info] Error 2

This appears to be fixed by the attached patch.

(My makeinfo is version 4.11, in case that's relevant.)

Regards,
        Neil

>From 8e8413b17216352a99f6c409b7de16f58b740ef6 Mon Sep 17 00:00:00 2001
From: Neil Jerram <address@hidden>
Date: Fri, 5 Jun 2009 23:42:52 +0100
Subject: [PATCH] Escape non-texinfo { and }s

---
 doc/ld-output-def.texi |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/ld-output-def.texi b/doc/ld-output-def.texi
index db48ee0..526ccb0 100644
--- a/doc/ld-output-def.texi
+++ b/doc/ld-output-def.texi
@@ -19,9 +19,9 @@ This is explained in 
@url{http://support.microsoft.com/kb/131313/en-us}.
 The tool does not generate DEF files directly, so its output needs to
 be post processed manually:
 @smallexample
-$ { echo EXPORTS; \
-    dumpbin /EXPORTS libfoo-0.dll | tail -n+20 | awk '{ print $4 }'; \
-  } > libfoo-0.def
+$ @{ echo EXPORTS; \
+    dumpbin /EXPORTS libfoo-0.dll | tail -n+20 | awk '@{ print $4 @}'; \
+  @} > libfoo-0.def
 $ lib /def:libfoo-0.def
 @end smallexample
 
-- 
1.5.6.5


reply via email to

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