[RFA:] toplevel/Makefile.in: Let install depend on install-info

Hans-Peter Nilsson hp@bitrange.com
Tue Jan 1 16:09:00 GMT 2002
(GCC is the master source, asking for approval to commit in both
trees.)

The GNU coding standards say everything, including info pages,
is to be installed with "make install", but right now (and
including binutils-2.11.2) the installer must perform a separate
"make install-info" to make this happen for info pages.

GCC does not see this problem because it has a separate
"install: install-info" dependency in gcc/Makefile.in, but that
doesn't help binutils.  (And that dependency should probably go
with this or equivalent patch applied.)

This isn't an automake issue as one might think, because
subdirectories (such as gas/doc/Makefile.am) use the --cygnus
automake option, which as one of its documented effects causes
"install-info" to not be implied by "install".

Tested by checking that "make install" in binutils toplevel
from scratch causes info pages to now be installed.

Ok to commit?

toplevel:

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

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/Makefile.in,v
retrieving revision 1.43
diff -p -c -r1.43 Makefile.in
*** Makefile.in	2001/11/28 19:55:01	1.43
--- Makefile.in	2002/01/01 23:36:39
*************** mail-report-with-warnings.log: warning.l
*** 1148,1154 ****
  # Installation targets.

  .PHONY: install install-cross uninstall source-vault binary-vault vault-install
! install: $(INSTALL_TARGET)
  install-cross: $(INSTALL_TARGET_CROSS)

  uninstall:
--- 1148,1154 ----
  # Installation targets.

  .PHONY: install install-cross uninstall source-vault binary-vault vault-install
! install: install-info $(INSTALL_TARGET)
  install-cross: $(INSTALL_TARGET_CROSS)

  uninstall:

brgds, H-P



More information about the Binutils mailing list