This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: [PATCH] Create destdirs...
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: Re: [PATCH] Create destdirs...
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 27 Mar 2000 16:57:14 +1000
- Organization: Cygnus Solutions
- References: <38DF0500.F897F66A@cygnus.com>
Attempt two.
Andrew Cagney wrote:
>
> FYI,
>
> I've applied the attatched. The sequence:
>
> gmake all-gdb
> cd gdb && gmake install install-info
>
> should work.
>
> Andrew
Mon Mar 27 16:43:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
* Makefile.in (install-only): Create $(bindir) and $(man1dir)
before installing GDB.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.15
diff -p -r1.15 Makefile.in
*** Makefile.in 2000/03/27 06:42:08 1.15
--- Makefile.in 2000/03/27 06:49:50
*************** install-only: $(CONFIG_INSTALL)
*** 687,693 ****
--- 687,695 ----
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