This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: several automake questions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]