aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-03-27 06:51:30 +0000
committerAndrew Cagney <cagney@redhat.com>2000-03-27 06:51:30 +0000
commitee29d710d1ee07c8fd4e3745dff08da1979542c1 (patch)
treecc62fb2f38637003dc51ab043308147ced8fa122 /gdb
parent2e022a79b49157aed1dad9039c75506e16ae3c6b (diff)
downloadgdb-ee29d710d1ee07c8fd4e3745dff08da1979542c1.zip
gdb-ee29d710d1ee07c8fd4e3745dff08da1979542c1.tar.gz
gdb-ee29d710d1ee07c8fd4e3745dff08da1979542c1.tar.bz2
Create destdirs before installing GDB (don't assume parent directory
did it for us).
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in2
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c652475..40e1281 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+Mon Mar 27 16:43:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * Makefile.in (install-only): Create $(bindir) and $(man1dir)
+ before installing GDB.
+
Mon Mar 27 16:26:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (all-gdbtk): Check for an existing link/directory.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index f77a7e3..03bdb25 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -687,7 +687,9 @@ install-only: $(CONFIG_INSTALL)
else \
true ; \
fi ; \
+ $(srcdir)/../mkinstalldirs $(bindir) ; \
$(INSTALL_PROGRAM) gdb$(EXEEXT) $(bindir)/$$transformed_name$(EXEEXT) ; \
+ $(srcdir)/../mkinstalldirs $(man1dir) ; \
$(INSTALL_DATA) $(srcdir)/gdb.1 $(man1dir)/$$transformed_name.1
@$(MAKE) DO=install "DODIRS=$(SUBDIRS)" $(FLAGS_TO_PASS) subdir_do