public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [RFA:] Make install imply install-info in subdirs
@ 2002-01-20 11:20 Hans-Peter Nilsson
  2002-01-25  8:42 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: Hans-Peter Nilsson @ 2002-01-20 11:20 UTC (permalink / raw)
  To: binutils

Here are patches to let the install target in makefiles in
subdirs imply install-info, as D.J. requested, rejecting a
top-level-only approach.  I changed only those makefile sources
that actually handle and install info files rather than all of
them.  There are .texi files mentioned in libiberty too, but
they aren't installed by install-info so I left it alone.
Note that etc isn't autoconfiscated.

Long term it seems the automake cygnus option should be
abandoned (so that install automatically implies install-info),
but that's long term and I think it'd be a quite invasive change
that I don't see fit to do at this time.  I mention this just in
case someone requests that as the preferred change.

Tested by inspecting the result of native "make install"
vs. "make install" and "make install-info" before the change.

Ok to commit?

binutils:
	* doc/Makefile.am (install): Depend on install-info.
	* doc/Makefile.in: Regenerate.

bfd:
	* doc/Makefile.am (install): Depend on install-info.
	* doc/Makefile.in: Regenerate.

gas:
	* doc/Makefile.am (install): Depend on install-info.
	* doc/Makefile.in: Regenerate.

gprof:
	* Makefile.am (install): Depend on install-info.
	* Makefile.in: Regenerate.

ld:
	* Makefile.am (install): Depend on install-info.
	* Makefile.in: Regenerate.

etc:
	* Makefile.in (install): Depend on install-info.

Index: ./binutils/doc/Makefile.am
===================================================================
RCS file: /cvs/src/src/binutils/doc/Makefile.am,v
retrieving revision 1.4
diff -p -c -r1.4 Makefile.am
*** Makefile.am	2001/09/19 17:02:38	1.4
--- Makefile.am	2002/01/20 17:50:41
*************** $(DEMANGLER_NAME).1: cxxfilt.man Makefil
*** 155,160 ****
--- 155,164 ----
  	    -e 's/cxxfilt/$(DEMANGLER_NAME)/' < $$man \
  		> $(DEMANGLER_NAME).1

+ # We want install to imply install-info as per GNU standards, despite the
+ # cygnus option.
+ install: install-info
+
  # Maintenance

  # We need it for the taz target in ../../Makefile.in.
Index: ./bfd/doc/Makefile.am
===================================================================
RCS file: /cvs/src/src/bfd/doc/Makefile.am,v
retrieving revision 1.4
diff -p -c -r1.4 Makefile.am
*** Makefile.am	2001/10/30 15:20:03	1.4
--- Makefile.am	2002/01/20 18:09:18
*************** CLEANFILES = s-* *.p *.ip
*** 272,274 ****
--- 272,278 ----
  DISTCLEANFILES = bfd.?? bfd.??? bfd.h libbfd.h libcoff.h texput.log

  MAINTAINERCLEANFILES = $(DOCFILES)
+
+ # We want install to imply install-info as per GNU standards, despite the
+ # cygnus option.
+ install: install-info
Index: ./gas/doc/Makefile.am
===================================================================
RCS file: /cvs/src/src/gas/doc/Makefile.am,v
retrieving revision 1.15
diff -p -c -r1.15 Makefile.am
*** Makefile.am	2001/11/09 20:24:02	1.15
--- Makefile.am	2002/01/20 18:09:24
*************** gasver.texi: Makefile
*** 59,64 ****
--- 59,68 ----
  as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
  as.dvi: $(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: install-info
+
  # This one isn't ready for prime time yet.  Not even a little bit.

  noinst_TEXINFOS = internals.texi
Index: ./gprof/Makefile.am
===================================================================
RCS file: /cvs/src/src/gprof/Makefile.am,v
retrieving revision 1.11
diff -p -c -r1.11 Makefile.am
*** Makefile.am	2001/10/02 06:03:15	1.11
--- Makefile.am	2002/01/20 17:51:12
*************** gprof.1: $(srcdir)/gprof.texi
*** 71,76 ****
--- 71,80 ----

  Makefile: $(BFDDIR)/configure.in

+ # We want install to imply install-info as per GNU standards, despite the
+ # cygnus option.
+ install: install-info
+
  # Targets to rebuild dependencies in this Makefile.
  # Have to get rid of DEP1 here so that "$?" later includes all sources.
  DEP: dep.sed $(gprof_SOURCES) $(noinst_HEADERS) gconfig.h
Index: ./ld/Makefile.am
===================================================================
RCS file: /cvs/src/src/ld/Makefile.am,v
retrieving revision 1.81
diff -p -c -r1.81 Makefile.am
*** Makefile.am	2001/12/20 03:19:43	1.81
--- Makefile.am	2002/01/20 17:51:14
*************** install-data-local:
*** 1055,1060 ****
--- 1055,1064 ----
  	  $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
  	done

+ # We want install to imply install-info as per GNU standards, despite the
+ # cygnus option.
+ install: install-info
+
  # Stuff that should be included in a distribution.  The diststuff
  # target is run by the taz target in ../Makefile.in.
  EXTRA_DIST = ldgram.c ldgram.h ldlex.c $(man_MANS)
Index: ./etc/Makefile.in
===================================================================
RCS file: /cvs/src/src/etc/Makefile.in,v
retrieving revision 1.1.1.1
diff -p -c -r1.1.1.1 Makefile.in
*** Makefile.in	1999/05/03 07:29:06	1.1.1.1
--- Makefile.in	2002/01/20 17:51:19
*************** DVIFILES = standards.dvi configure.dvi
*** 51,57 ****

  all:

! install:

  uninstall:

--- 51,58 ----

  all:

! # We want install to imply install-info as per GNU standards.
! install: install-info

  uninstall:


brgds, H-P

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [RFA:] Make install imply install-info in subdirs
  2002-01-20 11:20 [RFA:] Make install imply install-info in subdirs Hans-Peter Nilsson
@ 2002-01-25  8:42 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2002-01-25  8:42 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: binutils

Hi Hans-Peter,

> binutils:
> 	* doc/Makefile.am (install): Depend on install-info.
> 	* doc/Makefile.in: Regenerate.
> 
> bfd:
> 	* doc/Makefile.am (install): Depend on install-info.
> 	* doc/Makefile.in: Regenerate.
> 
> gas:
> 	* doc/Makefile.am (install): Depend on install-info.
> 	* doc/Makefile.in: Regenerate.
> 
> gprof:
> 	* Makefile.am (install): Depend on install-info.
> 	* Makefile.in: Regenerate.
> 
> ld:
> 	* Makefile.am (install): Depend on install-info.
> 	* Makefile.in: Regenerate.
> 
> etc:
> 	* Makefile.in (install): Depend on install-info.

Approved - please apply.

Cheers
        Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-25 15:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-20 11:20 [RFA:] Make install imply install-info in subdirs Hans-Peter Nilsson
2002-01-25  8:42 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).