This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: PATCH: Make sure gdb-cfg.texi is created
On Fri, May 09, 2003 at 01:35:11PM -0700, H. J. Lu wrote:
> On Fri, May 09, 2003 at 04:18:35PM -0400, Daniel Jacobowitz wrote:
> > Maybe I'm missing something obvious. The link will be created to point
> > at /export/gnu/src/gdb/gdb/gdb/doc/all-cfg.texi. Whether
> > ../../../../../import/gdb/src/gdb/doc/all-cfg.texi exists from that
> > directory does not matter. It will be resolved from the directory
> > containing the second symlink.
> >
>
> It is a typo.
That makes more sense. Please check this in if you haven't already.
> 2003-05-09 H.J. Lu <hongjiu.lu@intel.com>
>
> * Makefile.in (gdb-cfg.texi): Fix a typo.
>
> --- gdb/doc/Makefile.in.link 2003-04-02 16:40:17.000000000 -0800
> +++ gdb/doc/Makefile.in 2003-05-09 13:33:23.000000000 -0700
> @@ -245,7 +245,7 @@ GDBvn.texi : ${gdbdir}/version.in
> # not one for their binary config---which may not be specifically
> # defined anyways).
> gdb-cfg.texi: ${srcdir}/${DOC_CONFIG}-cfg.texi
> - (test "$$LN_S" = "ln -s" && \
> + (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
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer