diff options
author | Ian Lance Taylor <ian@airs.com> | 1992-09-01 01:13:11 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1992-09-01 01:13:11 +0000 |
commit | 3790af1d3374eea688e88ac353083b557fc44834 (patch) | |
tree | 17f9eb76d4d4e8f3288d1a03fb3285604435115b /binutils | |
parent | d257b46f8821410235e89f263930bd6879e91648 (diff) | |
download | gdb-3790af1d3374eea688e88ac353083b557fc44834.zip gdb-3790af1d3374eea688e88ac353083b557fc44834.tar.gz gdb-3790af1d3374eea688e88ac353083b557fc44834.tar.bz2 |
Brought forward from p3:
Sun Aug 30 21:18:59 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: map program names through program_transform_name
when installing.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/Makefile.in | 9 |
2 files changed, 9 insertions, 5 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0d013ef..24f6417 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +Sun Aug 30 21:18:59 1992 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in: map program names through program_transform_name + when installing. + Sun Aug 30 18:09:03 1992 Per Bothner (bothner@rtl.cygnus.com) * Makefile.in: Bump to versions 1.97.90. diff --git a/binutils/Makefile.in b/binutils/Makefile.in index acccd00..a5b6625 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -21,8 +21,7 @@ srcdir = . prefix = /usr/local -program_prefix = -program_suffix = +program_transform_name = exec_prefix = $(prefix) bindir = $(exec_prefix)/bin libdir = $(exec_prefix)/lib @@ -72,7 +71,7 @@ version=`./../gcc/gcc -dumpversion` # Where to find texinfo.tex to format docn with TeX TEXIDIR = $(srcdir)/../texinfo/fsf -MANPAGES= ar.1 nm.1 objdump.1 ranlib.1 size.1 strip.1 +MANPAGES= ar nm objdump ranlib size strip #CC=gcc -Wall # these two are almost the same program @@ -317,13 +316,13 @@ install: all if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi -if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; fi for i in $(PROGS) ; do \ - $(INSTALL_PROGRAM) $$i $(bindir)/$(program_prefix)$${i}$(program_suffix) ; \ + $(INSTALL_PROGRAM) $$i $(bindir)/`t='$(program_transform_name)'; echo $$i | sed -e "" $$t` ; \ done -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi for i in $(MANPAGES) ; do \ - $(INSTALL_DATA) $(srcdir)/$$i $(man1dir)/$(program_prefix)$${i}$(program_suffix) ; \ + $(INSTALL_DATA) $(srcdir)/$$i.1 $(man1dir)/`t='$(program_transform_name)'; echo $$i | sed -e "" $$t`.1 ; \ done install-info: info |