diff options
author | Ian Lance Taylor <ian@airs.com> | 1992-09-01 01:16:25 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1992-09-01 01:16:25 +0000 |
commit | b68b44fac8282ed984eae218c338c849a82eac3a (patch) | |
tree | 08b8fcc4f5ed691bf1e34833788fc88bf99e9bf1 /gdb/Makefile.in | |
parent | 7e10f53ccf9100e8191e7cc18af0c165f7973ea6 (diff) | |
download | gdb-b68b44fac8282ed984eae218c338c849a82eac3a.zip gdb-b68b44fac8282ed984eae218c338c849a82eac3a.tar.gz gdb-b68b44fac8282ed984eae218c338c849a82eac3a.tar.bz2 |
Brought forward from p3:
Sun Aug 30 21:32:17 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: map "gdb" through program_transform_name when
installing.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r-- | gdb/Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 94557cb..0ec56eb 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -18,7 +18,7 @@ prefix = /usr/local -program_prefix = +program_transform_name = exec_prefix = $(prefix) bindir = $(exec_prefix)/bin libdir = $(exec_prefix)/lib @@ -330,8 +330,9 @@ install: gdb -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi - $(INSTALL_PROGRAM) gdb $(bindir)/$(program_prefix)gdb - $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$(program_prefix)gdb.1 + -n=`t='$(program_transform_name)'; echo gdb | sed -e "" $$t`; \ + $(INSTALL_PROGRAM) gdb $(bindir)/$$n; \ + $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$n.1 $(M_INSTALL) $(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) |