public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Hans-Peter Nilsson <hp@bitrange.com>
To: <binutils@sources.redhat.com>
Subject: [RFA:] Make install imply install-info in subdirs
Date: Sun, 20 Jan 2002 11:20:00 -0000	[thread overview]
Message-ID: <Pine.BSF.4.30.0201201332510.4024-100000@dair.pair.com> (raw)

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

             reply	other threads:[~2002-01-20 18:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-20 11:20 Hans-Peter Nilsson [this message]
2002-01-25  8:42 ` Nick Clifton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.BSF.4.30.0201201332510.4024-100000@dair.pair.com \
    --to=hp@bitrange.com \
    --cc=binutils@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).