From b68b44fac8282ed984eae218c338c849a82eac3a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 1 Sep 1992 01:16:25 +0000 Subject: [PATCH] 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. --- gdb/ChangeLog | 5 +++++ gdb/Makefile.in | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 38791acb9fb..8402d5d2412 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -29,6 +29,11 @@ Mon Aug 31 13:47:45 1992 Fred Fish (fnf@cygnus.com) * gdbtypes.h (TYPE_CODE_CLASS): Add type for C++ classes, but treat as alias for TYPE_CODE_STRUCT for now. +Sun Aug 30 21:32:17 1992 Ian Lance Taylor (ian@cygnus.com) + + * Makefile.in: map "gdb" through program_transform_name when + installing. + Sun Aug 30 21:18:51 1992 Fred Fish (fnf@cygnus.com) * {i386-tdep.c, m68k-tdep.c, mips-tdep.c, sparc-tdep.c} diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 94557cb835b..0ec56eb34ae 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) -- 2.30.2