This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] Fix a parallel build error in doc


Hi,

I just found this when building our Blackfin port GDB with -j4 :

makeinfo --split-size=5000000 -I /home/jie/blackfin-sources/toolchain/trunk/binutils-2.20/gdb/doc -o annotate.info /home/jie/blackfin-sources/toolchain/trunk/binutils-2.20/gdb/doc/annotate.texinfo
echo "@set BUGURL @uref{http://www.gnu.org/software/gdb/bugs/}"; >> ./GDBvn.new
./gdb-cfg.texi:16: @include `GDBvn.texi': No such file or directory.
if [ "@uref{http://www.gnu.org/software/gdb/bugs/}"; = "@uref{http://www.gnu.org/software/gdb/bugs/}"; ]; then \
echo "@set BUGURL_DEFAULT" >> ./GDBvn.new; \
fi
mv GDBvn.new GDBvn.texi
makeinfo --split-size=5000000 -I /home/jie/blackfin-sources/toolchain/trunk/binutils-2.20/gdb/doc/../../readline/doc -I /home/jie/blackfin-sources/toolchain/trunk/binutils-2.20/gdb/doc/../mi -I /home/jie/blackfin-sources/toolchain/trunk/binutils-2.20/gdb/doc \
-o gdb.info /home/jie/blackfin-sources/toolchain/trunk/binutils-2.20/gdb/doc/gdb.texinfo
Making install in doc
makeinfo: Removing output file `annotate.info' due to errors; use --force to preserve.
make[3]: *** [annotate.info] Error 1


We should also add GDBvn.texi in ANNOTATE_DOC_BUILD_INCLUDES, shouldn't we?

Is the attached patch OK?

Thanks,
Jie
	* Makefile.in (ANNOTATE_DOC_BUILD_INCLUDES): Add GDBvn.texi.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/doc/Makefile.in,v
retrieving revision 1.48
diff -u -p -r1.48 Makefile.in
--- Makefile.in	1 Jan 2010 07:31:48 -0000	1.48
+++ Makefile.in	17 Jan 2010 00:59:29 -0000
@@ -147,7 +147,8 @@ STABS_DOC_FILES = \
 ANNOTATE_DOC_SOURCE_INCLUDES = \
 	$(srcdir)/fdl.texi
 ANNOTATE_DOC_BUILD_INCLUDES = \
-	gdb-cfg.texi
+	gdb-cfg.texi \
+	GDBvn.texi
 ANNOTATE_DOC_FILES = \
 	$(srcdir)/annotate.texinfo \
 	$(ANNOTATE_DOC_SOURCE_INCLUDES) \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]