This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

Re: [PATCH for 2.13.2]: ld.1 is out of date and one file is missing


On Wed, Jan 01, 2003 at 07:01:29PM +0100, Manfred Hollstein wrote:
> Hi there,
> 
> Happy new year to everyone.
> 
> I just built binutils-2.13.2 on my GNU/Linux box. Here are my
> observations:
> 
> 1. ld/ld.1 still says "binutils???2.13.1". Looking at ld/Makefile.*
>    reveals that the corresponding rule is missing a dependancy
>    on $(srcdir)/ldver.texi. This is fixed by the attached patch.

It's actually just ldver.texi; it will be generated in the objdir if
there's a separate objdir.  Thanks.

> 2. Due to ld/Makefile trying to regenerate ld/ld.1, the following
>    command failed:
> 
> 	perl ../../binutils-2.13.2/ld/../etc/texi2pod.pl -Dman < ../../binutils-2.13.2/ld/ld.texinfo > ld.pod
> 	Can't open perl script "../../binutils-2.13.2/ld/../etc/texi2pod.pl": No such file or directory
> 
>    I guess, etc/texi2pod.pl has been left out by accident from
>    the release tarball, hasn't it?

texi2pod.pl was the second file that's been pointed out missing in
2.13.2 (and all earlier versions I might add); the other is
fdl.texi.  Especially since fdl.texi is a documentation license, this
calls for respinning the release tarball.  2.13.2.1 will be up shortly;
hopefully the version number won't break anyone's scripts.

Here's what I checked in on the branch; similar on the mainline but
modifying src-release instead.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/ChangeLog,v
retrieving revision 1.242
diff -u -p -r1.242 ChangeLog
--- ChangeLog	11 Jul 2002 20:14:41 -0000	1.242
+++ ChangeLog	2 Jan 2003 00:46:57 -0000
@@ -1,3 +1,7 @@
+2003-01-01  Daniel Jacobowitz  <drow@mvista.com>
+
+	* Makefile.in (ETC_SUPPORT): Add fdl.texi and texi2pod.pl.
+
 2002-07-11  Nathanael Nerode  <neroden@gcc.gnu.org>
 
 	* configure.in: Remove two redundant tests.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/Makefile.in,v
retrieving revision 1.62
diff -u -p -r1.62 Makefile.in
--- Makefile.in	8 Jul 2002 22:18:40 -0000	1.62
+++ Makefile.in	2 Jan 2003 00:46:57 -0000
@@ -1,7 +1,7 @@
 #
 # Makefile for directory with subdirs to build.
 #   Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
-#   1999, 2000, 2001, 2002 Free Software Foundation
+#   1999, 2000, 2001, 2002, 2003 Free Software Foundation
 #
 # This file is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -1810,7 +1810,7 @@ DEVO_SUPPORT= README Makefile.in configu
 # distribution (perhaps it would be better to include it anyway).
 ETC_SUPPORT= Makefile.in configure configure.in standards.texi \
 	make-stds.texi standards.info* configure.texi configure.info* \
-	configbuild.* configdev.*
+	configbuild.* configdev.* fdl.texi texi2pod.pl
 
 
 # When you use `make setup-dirs' or `make taz' you should always redefine
Index: ld/ChangeLog
===================================================================
RCS file: /cvs/src/src/ld/ChangeLog,v
retrieving revision 1.717.2.25
diff -u -p -r1.717.2.25 ChangeLog
--- ld/ChangeLog	20 Dec 2002 20:12:10 -0000	1.717.2.25
+++ ld/ChangeLog	2 Jan 2003 00:46:59 -0000
@@ -1,3 +1,10 @@
+2003-01-01  Daniel Jacobowitz  <drow@mvista.com>
+
+	Suggested by Manfred Hollstein <manfred.h@gmx.net>:
+	* Makefile.am (ld.1): Depend on configdoc.texi
+	and ldver.texi.
+	* Makefile.in: Regenerated.
+
 2002-12-17  Nick Clifton  <nickc@redhat.com>
 
 	* emultempl/pe.em (longopts): Duplicate entry for --compact-implib
Index: ld/Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.105
diff -u -p -r1.105 Makefile.am
--- ld/Makefile.am	9 Jul 2002 02:42:13 -0000	1.105
+++ ld/Makefile.am	2 Jan 2003 00:46:59 -0000
@@ -1186,7 +1186,7 @@ ld.dvi: $(srcdir)/ld.texinfo configdoc.t
 # Build the man page from the texinfo file
 # The sed command removes the no-adjust Nroff command so that
 # the man output looks standard.
-ld.1: $(srcdir)/ld.texinfo
+ld.1: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
 	touch $@
 	-$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
 	-($(POD2MAN) ld.pod | \


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