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.
This commit is contained in:
Ian Lance Taylor 1992-09-01 01:16:25 +00:00
parent 7e10f53ccf
commit b68b44fac8
2 changed files with 9 additions and 3 deletions

View File

@ -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}

View File

@ -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)