[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: EXEEXT for other languages
From: |
Gary V. Vaughan |
Subject: |
Re: EXEEXT for other languages |
Date: |
Sat, 11 Jan 2014 16:49:20 +1300 |
Hi Reuben,
On Jan 11, 2014, at 3:12 PM, Reuben Thomas <address@hidden> wrote:
> I have a project that installs a C program and a Perl program. I want to
> allow the Perl program to be installed with the suffix .pl, on Windows, for
> example.
>
> In the past, I have misused EXEEXT for this, with projects that install
> programs in one non-C language only, but here that is not possible, since I
> install a C program.
>
> Is there any generally-used way around this? If not, should I just introduce
> a generic-sounding variable like PERL_EXEEXT and use that, and advertise its
> use?
I would write an install-exec-hook in your Makefile.am that performs any
post-install renames according to whatever logic you deem appropriate :)
http://www.gnu.org/software/automake/manual/automake.html#Extending
Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)
signature.asc
Description: Message signed with OpenPGP using GPGMail