In article
<[EMAIL PROTECTED]>, Chris
Nighswonger <[EMAIL PROTECTED]> wrote:

> On 11/14/07, Michael G Schwern <[EMAIL PROTECTED]> wrote:
> > As to the second question, there's not enough information to answer that.
> > Could you give an example?
> >
> > What is it you are trying to accomplish?
> 
> Answering in reverse order.... I have an application which has
> language/standards options. 

> so at install time if LANG = 'en' then make should be instructed to build:
> 
> ln -s foo/lang/en/bar.conf foo/lang.conf

Why not just copy it? As Schwern said, not everything handles symlinks.

   ${CP} foo/lang/en/bar.conf foo/lang.conf

Alternatively, in the Makefile, you can create a new variable to be the
name of the config file to use

   CONF = foo/lang/en/bar.conf
   ....
   ${COMMAND} -abc -file=${CONF}

Not that I'm trying to get you to use Makemaker, but Module::Build will
be similarly platform-limited.

Reply via email to