From ee29d710d1ee07c8fd4e3745dff08da1979542c1 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 27 Mar 2000 06:51:30 +0000 Subject: [PATCH] Create destdirs before installing GDB (don't assume parent directory did it for us). --- gdb/ChangeLog | 5 +++++ gdb/Makefile.in | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c65247584af..40e12814e59 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 27 16:43:35 2000 Andrew Cagney + + * Makefile.in (install-only): Create $(bindir) and $(man1dir) + before installing GDB. + Mon Mar 27 16:26:11 2000 Andrew Cagney * Makefile.in (all-gdbtk): Check for an existing link/directory. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index f77a7e3036f..03bdb251d32 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 -- 2.30.2