aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-08-18 20:48:29 +0000
committerIan Lance Taylor <ian@airs.com>1992-08-18 20:48:29 +0000
commitb189e892be0878befd658925944e9c046b5efc52 (patch)
treed1e3c63cd5c60a4850c58aad48b4134efddb6ef1 /ld/Makefile.in
parentf478fcf663054c7059b0e5ee490d2ecbf398221d (diff)
downloadgdb-b189e892be0878befd658925944e9c046b5efc52.zip
gdb-b189e892be0878befd658925944e9c046b5efc52.tar.gz
gdb-b189e892be0878befd658925944e9c046b5efc52.tar.bz2
Moved in from p3:
Tue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com) * configure.in: accept all m68K family members. * Makefile.in: always create installation directories.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index abc6d34..fa0d4e5 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -435,6 +435,12 @@ objdump:objdump.c
.PHONY: install
install: $(LD_PROG)
+ -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
-rm -f $(bindir)/$(program_prefix)ld$(program_suffix)
$(INSTALL_PROGRAM) ld.new $(bindir)/$(program_prefix)ld$(program_suffix)
-rm -f $(tooldir)/ld
@@ -443,6 +449,9 @@ install: $(LD_PROG)
$(INSTALL_DATA) $(srcdir)/ld.1 $(man1dir)/$(program_prefix)ld$(program_suffix).1
install-info: info
+ -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
+ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
+ -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
for i in ld.info* ; do \
$(INSTALL_DATA) $$i $(infodir)/$$i ; \
done