Re: EXEEXT for other languages

2014-01-12 Thread Peter Johansson
On 01/12/2014 08:31 AM, Gary V. Vaughan wrote: install-exec-hook: test -z "$(EXEEXT)" || { cd $(prefix)/bin; for f in $(bin_SCRIPTS); do mv -f $$f $$f.pl; done; } s,$(prefix)/bin,$(bindir), Cheers, -- Peter Johansson

Re: EXEEXT for other languages

2014-01-11 Thread Gary V. Vaughan
Hi Reuben, > On Jan 11, 2014, at 9:37 PM, Reuben Thomas wrote: > >> On 11 January 2014 03:49, Gary V. Vaughan wrote: >> Hi Reuben, >> >> On Jan 11, 2014, at 3:12 PM, Reuben Thomas wrote: >> >> > I have a project that installs a C program and a Perl program. I want to >> > allow the Perl pro

Re: EXEEXT for other languages

2014-01-11 Thread Reuben Thomas
On 11 January 2014 22:31, Gary V. Vaughan wrote: > Hi Reuben, > > On Jan 11, 2014, at 9:37 PM, Reuben Thomas wrote: > > On 11 January 2014 03:49, Gary V. Vaughan wrote: > >> Hi Reuben, >> >> On Jan 11, 2014, at 3:12 PM, Reuben Thomas wrote: >> >> > I have a project that installs a C program an

Re: EXEEXT for other languages

2014-01-11 Thread Reuben Thomas
On 11 January 2014 08:37, Reuben Thomas wrote: > On 11 January 2014 03:49, Gary V. Vaughan wrote: > >> Hi Reuben, >> >> On Jan 11, 2014, at 3:12 PM, Reuben Thomas wrote: >> >> > I have a project that installs a C program and a Perl program. I want >> to allow the Perl program to be installed wi

Re: EXEEXT for other languages

2014-01-11 Thread Reuben Thomas
On 11 January 2014 03:49, Gary V. Vaughan wrote: > Hi Reuben, > > On Jan 11, 2014, at 3:12 PM, Reuben Thomas 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 t

Re: EXEEXT for other languages

2014-01-10 Thread Gary V. Vaughan
Hi Reuben, On Jan 11, 2014, at 3:12 PM, Reuben Thomas 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

EXEEXT for other languages

2014-01-10 Thread Reuben Thomas
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,