[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libexecdir - helper scripts



moseley@hank.org writes:

> On Thu, May 22, 2003 at 07:41:33PM +0100, Roger Leigh wrote:
> 
> > There's an easier way.  In your Makefile.am, just do this:
> > 
> >   pkglibexecdir = $(libexecdir)/$(PACKAGE)
> > 
> > and then
> > 
> >   pkglibexec_PROGRAMS = foo
> >   foo_SOURCES = foo.c foo.h bar.c bar.h
> 
> I considered that, but didn't go that route because that means $(PACKAGE) 
> always gets appended to libexecdir so you cannot completely override with 
> --libexecdir.  That's why I ended up changing the default for libexecdir.

Note that you can easily override this:

$ make pkglibexecdir=/usr/lib/otherdir


-- 
Roger Leigh

                Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
                GPG Public Key: 0x25BFB848 available on public keyservers



Reply to: