[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Faillure to autogenerate file on hpux
From: |
Nick Bowler |
Subject: |
Re: Faillure to autogenerate file on hpux |
Date: |
Mon, 1 Apr 2013 10:34:01 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On 2013-03-31 11:01 +0100, Bastien ROUCARIES wrote:
> On Sat, Mar 30, 2013 at 5:01 PM, Bastien ROUCARIES <address@hidden> wrote:
[...]
> > >No we have a automake rules that do:
> > >$(PERLMAGICK)/quantum/@address@hidden: $(PERLMAGICK)/quantum/quantum.pm
> > > $(AM_V_GEN) $(LN_S) $(notdir $^) $@
> > >
> > >And it is surelly not portable ...
>
> Any idea to get portable basename shell command ?
Note also that $^ is not portable as it is also GNU make feature, along
with $(notdir ...).
But in this case it doesn't look like you need $^, or even basename. I
think you can just replace the string (unfortunately, you'd need to see
the rest of the Makefile to be sure):
$(notdir $^)
with:
quantum.pm
and it will work just as well, and be portable.
Cheers,
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Faillure to autogenerate file on hpux,
Nick Bowler <=