Create destdirs before installing GDB (don't assume parent directory
authorAndrew Cagney <cagney@redhat.com>
Mon, 27 Mar 2000 06:51:30 +0000 (06:51 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 27 Mar 2000 06:51:30 +0000 (06:51 +0000)
did it for us).

gdb/ChangeLog
gdb/Makefile.in

index c65247584af0720dc72b7c0d3045cfa44fa2f179..40e12814e59db03f9847381d592e5489876803c2 100644 (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.
index f77a7e3036f8cd23aed7958c9141507439f51ca1..03bdb251d32d2217ded5065eb8b0833bdf8ff578 100644 (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