This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: several automake questions
- Subject: Re: several automake questions
- From: mcmahill at mtl dot mit dot edu
- Date: Fri, 12 Oct 2001 21:10:38 -0400 (EDT)
- cc: automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- Reply-To: mcmahill at mtl dot mit dot edu
cool! Thanks for the help.
-Dan
On Fri, 12 Oct 2001, Raja R Harinath wrote:
> Hi,
>
> Alexandre Duret-Lutz <duret_g@lrde.epita.fr> writes:
> >>>> "mcmahill" == mcmahill <mcmahill@mtl.mit.edu> writes:
> > mcmahill> 1) How can I specify a different directory or
> > mcmahill> subdirectory for a program? The application is a cgi
> > mcmahill> program which might, for example, end up in
> > mcmahill> /usr/local/libexec/cgi-bin. The standard things like
> > mcmahill> bin_PROGRAMS or libexec_PROGRAMS just don't get me to
> > mcmahill> the right place. I somehow need a cgibin_PROGRAMS...
> >
> > cgibindir = $(libexecdir)/cgi-bin
> > cgibin_PROGRAMS = mumble
> > mumble_SOURCES = ...
>
> That should be
>
> cgibinexecdir = $(libexecdir)/cgi-bin
> cgibinexec_PROGRAMS = mumble
>
> so that things work as expected with 'make install-exec'.
>
> - Hari
> --
> Raja R Harinath ------------------------------ harinath@cs.umn.edu
> "When all else fails, read the instructions." -- Cahn's Axiom
> "Our policy is, when in doubt, do the right thing." -- Roy L Ash
>