This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Create destdirs...


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 
  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]