From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4426 invoked by alias); 9 May 2003 19:34:51 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4387 invoked from network); 9 May 2003 19:34:51 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 9 May 2003 19:34:51 -0000 Received: from [66.93.61.169] (helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19EDeD-0004TV-00; Fri, 09 May 2003 14:35:13 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19EDbC-0000K7-00; Fri, 09 May 2003 15:32:06 -0400 Date: Fri, 09 May 2003 19:34:00 -0000 From: Daniel Jacobowitz To: "H. J. Lu" Cc: GDB Subject: Re: PATCH: Make sure gdb-cfg.texi is created Message-ID: <20030509193206.GA1189@nevyn.them.org> Mail-Followup-To: "H. J. Lu" , GDB References: <20030509122434.A5769@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030509122434.A5769@lucon.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-05/txt/msg00137.txt.bz2 On Fri, May 09, 2003 at 12:24:34PM -0700, H. J. Lu wrote: > My gdb source tree is created with relative symlinks. ln -s won't work > with them. Here is a patch to make sure gdb-cfg.texi is created. That patch doesn't make sense. You're saying that ln -s can succeed when test -e would fail? > 2003-05-09 H.J. Lu > > * Makefile.in (gdb-cfg.texi): Make sure it is created. > > --- gdb/doc/Makefile.in.link 2003-04-02 16:40:17.000000000 -0800 > +++ gdb/doc/Makefile.in 2003-05-09 12:19:13.000000000 -0700 > @@ -246,9 +246,13 @@ GDBvn.texi : ${gdbdir}/version.in > # defined anyways). > gdb-cfg.texi: ${srcdir}/${DOC_CONFIG}-cfg.texi > (test "$$LN_S" = "ln -s" && \ > - ln -s ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi) || \ > - ln ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi || \ > - cp ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi > + ln -s ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi && \ > + test -e gdb-cfg.texi) || \ > + (rm -f gdb-cfg.texi && \ > + ln ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi && \ > + test -e gdb-cfg.texi) || \ > + (rm -f gdb-cfg.texi && \ > + cp ${srcdir}/${DOC_CONFIG}-cfg.texi gdb-cfg.texi) > > # GDB MANUAL: texinfo source, using @set/@clear/@value/@ifset/@ifclear > # If your texinfo or makeinfo don't support these, get a new texinfo release -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer