automake
[Top][All Lists]
Advanced

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

Re: Single program, multiple names


From: Peter Johansson
Subject: Re: Single program, multiple names
Date: Mon, 16 Apr 2012 09:33:40 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120307 Thunderbird/10.0.3

On 04/16/2012 06:52 AM, Dag-Erling Smørgrav wrote:
Is there a simple way to have automake install the same program under
multiple different names?

(the point being that the program behaves differently depending on the
name used to invoke it; bash and openssl are two examples of programs
which behave in this manner, but neither uses automake)

DES
I would install the program as one name and then create symbolic links within $(bindir) to the other names. You can do this with an install-hook explained here

http://www.gnu.org/software/automake/manual/automake.html#Extending

Cheers,
Peter



reply via email to

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