Create destdirs before installing GDB (don't assume parent directory

did it for us).
This commit is contained in:
Andrew Cagney 2000-03-27 06:51:30 +00:00
parent 2e022a79b4
commit ee29d710d1
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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