This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Move info and gmo files to objdir
On Mon, Dec 11, 2006 at 09:53:15PM -0800, Khem Raj wrote:
>
> On Dec 11, 2006, at 7:35 AM, Daniel Jacobowitz wrote:
>
> >On Wed, Dec 06, 2006 at 10:44:33PM -0500, Daniel Jacobowitz wrote:
> >>Does anyone see any problems with this patch? I verified that
> >>binutils
> >>builds, that it does not write to the srcdir, and that distribution
> >>tarballs still include info and gmo files. We don't need the extra
> >>configure switch used by GCC; src-release's current trick of
> >>configuring in srcdir and making distclean but not maintainer-clean
> >>handles this correctly.
> >
> >Committed; let me know if it breaks anything, please.
>
> I am missing gprof.info in the install tree now.
Another fragile automake construct bites the dust. It should be fixed
now.
--
Daniel Jacobowitz
CodeSourcery
2006-12-12 Daniel Jacobowitz <dan@codesourcery.com>
* doc/Makefile.am (bfd_TEXINFOS): Set.
(bfd.info bfd.dvi bfd.html): Delete rule.
* doc/Makefile.in: Regenerated.
2006-12-12 Daniel Jacobowitz <dan@codesourcery.com>
* doc/Makefile.am (as_TEXINFOS): Set.
(as.info as.dvi as.html): Delete rule.
* doc/Makefile.in: Regenerated.
2006-12-12 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.am (gprof_TEXINFOS): Set.
(gprof.info gprof.dvi gprof.html): Delete rule.
* Makefile.in: Regenerated.
2006-12-12 Daniel Jacobowitz <dan@codesourcery.com>
* Makefile.am (ld_TEXINFOS): Set.
(ld.info ld.dvi ld.html): Delete rule.
* Makefile.in: Regenerated.
Index: bfd/doc/Makefile.am
===================================================================
RCS file: /cvs/src/src/bfd/doc/Makefile.am,v
retrieving revision 1.21
diff -u -p -r1.21 Makefile.am
--- bfd/doc/Makefile.am 11 Dec 2006 15:09:41 -0000 1.21
+++ bfd/doc/Makefile.am 12 Dec 2006 14:27:39 -0000
@@ -51,6 +51,7 @@ SRCIPROT = $(srcdir)/../cache.c $(srcdir
TEXIDIR = $(srcdir)/../../texinfo/fsf
info_TEXINFOS = bfd.texinfo
+bfd_TEXINFOS = $(DOCFILES) bfdsumm.texi
MKDOC = chew$(EXEEXT_FOR_BUILD)
@@ -68,8 +69,6 @@ chew.o: chew.c
protos: libbfd.h libcoff.h bfd.h
-bfd.info bfd.dvi bfd.html: $(DOCFILES) bfdsumm.texi bfd.texinfo
-
# We can't replace these rules with an implicit rule, because
# makes without VPATH support couldn't find the .h files in `..'.
Index: gas/doc/Makefile.am
===================================================================
RCS file: /cvs/src/src/gas/doc/Makefile.am,v
retrieving revision 1.47
diff -u -p -r1.47 Makefile.am
--- gas/doc/Makefile.am 11 Dec 2006 15:09:44 -0000 1.47
+++ gas/doc/Makefile.am 12 Dec 2006 14:27:40 -0000
@@ -16,6 +16,7 @@ POD2MAN = pod2man --center="GNU Developm
man_MANS = as.1
info_TEXINFOS = as.texinfo
+as_TEXINFOS = asconfig.texi gasver.texi $(CPU_DOCS)
AM_MAKEINFOFLAGS = -I "$(srcdir)" -I "$(top_srcdir)/../libiberty"
TEXI2DVI = texi2dvi -I "$(srcdir)" -I "$(top_srcdir)/../libiberty"
@@ -67,8 +68,6 @@ gasver.texi: $(srcdir)/../../bfd/configu
eval `grep '^ *VERSION=' $(srcdir)/../../bfd/configure`; \
echo "@set VERSION $$VERSION" > $@
-as.info as.dvi as.html: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
-
# We want install to imply install-info as per GNU standards, despite the
# cygnus option.
install-data-local: install-info
Index: gprof/Makefile.am
===================================================================
RCS file: /cvs/src/src/gprof/Makefile.am,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile.am
--- gprof/Makefile.am 11 Dec 2006 15:09:44 -0000 1.29
+++ gprof/Makefile.am 12 Dec 2006 14:27:40 -0000
@@ -59,10 +59,9 @@ TEXI2POD = perl $(srcdir)/../etc/texi2po
POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
info_TEXINFOS = gprof.texi
+gprof_TEXINFOS = config.texi
man_MANS = gprof.1
-gprof.info: gprof.texi config.texi
-
config.texi:
echo "@set top_srcdir $(top_srcdir)" >> ./config.texi
Index: ld/Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.226
diff -u -p -r1.226 Makefile.am
--- ld/Makefile.am 11 Dec 2006 15:09:44 -0000 1.226
+++ ld/Makefile.am 12 Dec 2006 14:27:41 -0000
@@ -91,6 +91,7 @@ CXX_FOR_TARGET = ` \
noinst_PROGRAMS = ld-new
info_TEXINFOS = ld.texinfo
+ld_TEXINFOS = configdoc.texi ldver.texi
noinst_TEXINFOS = ldint.texinfo
man_MANS = ld.1
@@ -1760,8 +1761,6 @@ ldver.texi: $(srcdir)/../bfd/configure
eval `grep '^ *VERSION=' $(srcdir)/../bfd/configure`; \
echo "@set VERSION $$VERSION" > $@
-ld.info ld.dvi ld.html: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
-
# Build the man page from the texinfo file
# The sed command removes the no-adjust Nroff command so that
# the man output looks standard.