Re: noinst_bindir

2006-04-30 Thread Ralf Wildenhues
Hi Bob, Russ, * Russ Allbery wrote on Sun, Apr 30, 2006 at 05:34:53AM CEST: Bob Rossi [EMAIL PROTECTED] writes: noinst_bin_PROGRAMS = gdbmi_driver noinst_bindir = $(top_builddir)/progs Try using $(abs_top_builddir) instead. I've always had bad luck with relative paths and anything

Re: noinst_bindir

2006-04-30 Thread Bob Rossi
On Sat, Apr 29, 2006 at 08:34:53PM -0700, Russ Allbery wrote: Bob Rossi [EMAIL PROTECTED] writes: I have noinst_bin_PROGRAMS = gdbmi_driver noinst_bindir = $(top_builddir)/progs Try using $(abs_top_builddir) instead. I've always had bad luck with relative paths and anything

Re: noinst_bindir

2006-04-30 Thread Olly Betts
saying this has changed), so make replaces $(abs_top_builddir) with the empty string. However @abs_top_builddir@ is substituted, so you should be able to do: abs_top_builddir = @abs_top_builddir@ noinst_bin_PROGRAMS = gdbmi_driver noinst_bindir = $(abs_top_builddir)/progs Cheers, Olly

Re: noinst_bindir

2006-04-30 Thread Bob Rossi
= gdbmi_driver noinst_bindir = $(abs_top_builddir)/progs Hi Olly, That does work. I'm using automake 1.9.5. This does fix the problem I'm seeing. Is there any difference between using abs_top_builddir vs top_builddir? Will things stop working for my users that used to work? Finally, is this a bug

Re: noinst_bindir

2006-04-30 Thread Olly Betts
On Sun, Apr 30, 2006 at 08:18:34AM -0400, Bob Rossi wrote: Is there any difference between using abs_top_builddir vs top_builddir? The former has an absolute path, while the latter may not (in fact for builddir I think it never will; for srcdir, the non-abs_ versions may also in fact be

Re: noinst_bindir

2006-04-30 Thread Russ Allbery
Bob Rossi [EMAIL PROTECTED] writes: noinst_bin_PROGRAMS = gdbmi_driver noinst_bindir = $(abs_top_builddir)/progs Unfortunatly, that doesn't work either. test -z /progs || mkdir -p -- /progs mkdir: cannot create directory `/progs': Permission denied Well, that makes it look like

noinst_bindir

2006-04-29 Thread Bob Rossi
Hi, I have noinst_bin_PROGRAMS = gdbmi_driver noinst_bindir = $(top_builddir)/progs and I wasn't using AC_PROG_LIBTOOL. I've never had a problem with 'make install' before. However, since I've enabled AM_PROG_LIBTOOL, I'm getting this error, test -z ../progs || mkdir -p -- ../progs /bin/sh

Re: noinst_bindir

2006-04-29 Thread Russ Allbery
Bob Rossi [EMAIL PROTECTED] writes: I have noinst_bin_PROGRAMS = gdbmi_driver noinst_bindir = $(top_builddir)/progs Try using $(abs_top_builddir) instead. I've always had bad luck with relative paths and anything that involves libtool. -- Russ Allbery ([EMAIL PROTECTED]) http