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]

Build documentation in 'make all' (was Re: Build failure on Debian testing (cross to arm-none-eabi))


Nick Clifton <nickc@redhat.com> writes:
> Hi Zack,
>
>> GCC builds the documentation as part of "make all" - this works much
>> better in that sort of environment, and would have caught this bug as
>> well.  What do people think of changing it?
>
> I think that this would be a good idea, and I hope quite simple to do.
>
> Would you like to submit a patch ?

Here you go.  This turns out to be easy; a matter of a small handful of
lines here and there.

It's tempting to take 'cygnus' off the AUTOMAKE_OPTIONS lines, but
that would have much more far-reaching effects, which I am not
wanting to experiment with now.

zw

        * bfd/Makefile.am, binutils/Makefile.am, etc/Makefile.in
        * gas/Makefile.am: Have 'all' depend on 'info'.
        * ld/Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
        * bfd/Makefile.in, binutils/Makefile.in, gas/Makefile.in
        * ld/Makefile.in: Regenerate.

===================================================================
Index: bfd/Makefile.am
--- bfd/Makefile.am	5 May 2005 14:37:01 -0000	1.155
+++ bfd/Makefile.am	18 May 2005 17:29:16 -0000
@@ -647,7 +647,7 @@ po/BLD-POTFILES.in: @MAINT@ Makefile $(B
 	  | LC_COLLATE= sort > tmp.bld \
 	  && mv tmp.bld $(srcdir)/po/BLD-POTFILES.in
 
-diststuff: info
+all diststuff: info
 
 # Various kinds of .o files to put in libbfd.a:
 # BFD_BACKENDS	Routines the configured targets need.
===================================================================
Index: binutils/Makefile.am
--- binutils/Makefile.am	14 Apr 2005 05:26:27 -0000	1.57
+++ binutils/Makefile.am	18 May 2005 17:29:17 -0000
@@ -297,6 +297,7 @@ EXTRA_DIST = arparse.c arparse.h arlex.c
 	syslex.c deflex.c defparse.h defparse.c rclex.c rcparse.h rcparse.c
 
 diststuff: $(EXTRA_DIST) info
+all: info
 
 DISTCLEANFILES = sysinfo sysroff.c sysroff.h \
 	site.exp site.bak
===================================================================
Index: etc/Makefile.in
--- etc/Makefile.in	2 Jan 2003 20:51:02 -0000	1.3
+++ etc/Makefile.in	18 May 2005 17:29:17 -0000
@@ -51,9 +51,7 @@ TEXIDIR = $(srcdir)/../texinfo
 INFOFILES = standards.info configure.info
 DVIFILES = standards.dvi configure.dvi
 
-all:
-
-# We want install to imply install-info as per GNU standards.
+all: info
 install: install-info
 
 uninstall:
===================================================================
Index: gas/Makefile.am
--- gas/Makefile.am	15 May 2005 18:19:39 -0000	1.110
+++ gas/Makefile.am	18 May 2005 17:29:17 -0000
@@ -475,6 +475,7 @@ stamp-mk.com: vmsconf.sh Makefile
 
 EXTRA_DIST = make-gas.com m68k-parse.c itbl-parse.c itbl-parse.h itbl-lex.c
 diststuff: $(EXTRA_DIST) info
+all: info
 
 DISTCLEANFILES = targ-cpu.h obj-format.h targ-env.h itbl-cpu.h cgen-desc.h
 
===================================================================
Index: ld/Makefile.am
--- ld/Makefile.am	17 May 2005 19:43:52 -0000	1.176
+++ ld/Makefile.am	18 May 2005 17:29:18 -0000
@@ -1697,6 +1697,7 @@ install-data-local: install-info
 # target is run by the taz target in ../Makefile.in.
 EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
 diststuff: info $(EXTRA_DIST)
+all: info ld.1
 
 DISTCLEANFILES = tdirs site.exp site.bak stringify.sed
 distclean-local:


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