From: David D. Zuhn Date: Wed, 16 Jun 1993 00:01:46 +0000 (+0000) Subject: remove parentdir support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98a7278bc0fd53d0cc5347e0c1f6f54705f7084d;p=binutils-gdb.git remove parentdir support --- diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 99fd60c39b4..d8d5c425bc1 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -41,9 +41,11 @@ docdir = $(datadir)/doc SHELL = /bin/sh -INSTALL = install -c +INSTALL = $(srcdir)/../install.sh -c INSTALL_PROGRAM = $(INSTALL) INSTALL_DATA = $(INSTALL) +INSTALL_XFORM = $(INSTALL) -t=$(program_transform_name) +INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1 AR = ar AR_FLAGS = qv @@ -446,14 +448,8 @@ gdb.z:gdb.1 # source file and doesn't care about rebuilding or just wants to save the # time it takes for make to check that all is up to date. install: - -parent=`echo $(bindir)|sed -e 's@/[^/]*$$@@'`; \ - if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi - -if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; fi - -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \ - if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi - -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi - -n=`t='$(program_transform_name)'; echo gdb | sed -e "" $$t`; \ - $(INSTALL_PROGRAM) gdb $(bindir)/$$n; \ + $(INSTALL_XFORM) gdb $(bindir)/gdb + $(INSTALL_XFORM1) $(srcdir)/gdb.1 $(man1dir)/gdb.1 $(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$n.1 $(M_INSTALL) @$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do