aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid D. Zuhn <zoo@cygnus>1993-06-16 00:01:46 +0000
committerDavid D. Zuhn <zoo@cygnus>1993-06-16 00:01:46 +0000
commit98a7278bc0fd53d0cc5347e0c1f6f54705f7084d (patch)
tree131844c490e39fe1abd9f3b7d8da068645763dfc
parentf35c616002b0073f2628db418860131d0b64cd34 (diff)
downloadgdb-98a7278bc0fd53d0cc5347e0c1f6f54705f7084d.zip
gdb-98a7278bc0fd53d0cc5347e0c1f6f54705f7084d.tar.gz
gdb-98a7278bc0fd53d0cc5347e0c1f6f54705f7084d.tar.bz2
remove parentdir support
-rw-r--r--gdb/Makefile.in14
1 files changed, 5 insertions, 9 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 99fd60c..d8d5c42 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