automake
[Top][All Lists]
Advanced

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

Re: avoiding program name transformations on libexec


From: Nick Bowler
Subject: Re: avoiding program name transformations on libexec
Date: Wed, 10 Sep 2014 10:08:08 -0400
User-agent: Mutt/1.5.22 (2013-10-16)

On 2014-09-10 10:22 +0100, Pádraig Brady wrote:
> I was able to work around the issue here as there is only a single
> item in libexec in my project which I excluded from $(transform) like:
> 
>   transform = /myprog/!$(program_transform_name)

This seems like a reasonable solution.  But be careful: the above
won't work if program_transform_name (which is set by the user) contains
nontrivial sed commands.  For example, it will fail if it contains a
semicolon.

Something like this should be more robust (but untested):

  transform = /myprog/q;$(program_transform_name)

Cheers,
-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]