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

Manfred Hollstein manfred.h@gmx.net
Wed Jan 1 18:01:00 GMT 2003


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.
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?

HTH, cheers.

l8er
manfred
-------------- next part --------------
ld/ChangeLog:

2003-01-01  Manfred Hollstein  <manfred.h@gmx.net>

	* Makefile.am (ld.1): Depend on $(srcdir)/ldver.texi.
	* Makefile.in: Regenerate.

diff -rup -x CVS -x RCS -x '*.o' -x '*.info*' -x '*.html*' -x '*.elc' -x '*.dvi' -x '*.orig' -x '*~' -x version.el binutils-2.13.2.orig/ld/Makefile.am binutils-2.13.2/ld/Makefile.am
--- binutils-2.13.2.orig/ld/Makefile.am	2002-07-14 03:14:43.000000000 +0200
+++ binutils-2.13.2/ld/Makefile.am	2003-01-01 18:36:16.000000000 +0100
@@ -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 $(srcdir)/ldver.texi
 	touch $@
 	-$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
 	-($(POD2MAN) ld.pod | \
diff -rup -x CVS -x RCS -x '*.o' -x '*.info*' -x '*.html*' -x '*.elc' -x '*.dvi' -x '*.orig' -x '*~' -x version.el binutils-2.13.2.orig/ld/Makefile.in binutils-2.13.2/ld/Makefile.in
--- binutils-2.13.2.orig/ld/Makefile.in	2002-07-14 03:14:43.000000000 +0200
+++ binutils-2.13.2/ld/Makefile.in	2003-01-01 18:36:29.000000000 +0100
@@ -1898,7 +1898,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 $(srcdir)/ldver.texi
 	touch $@
 	-$(TEXI2POD) $(MANCONF) < $(srcdir)/ld.texinfo > ld.pod
 	-($(POD2MAN) ld.pod | \


More information about the Binutils mailing list