bug-automake
[Top][All Lists]
Advanced

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

Re: Using GNU Make


From: Mike Frysinger
Subject: Re: Using GNU Make
Date: Sat, 4 Apr 2009 15:09:23 -0400
User-agent: KMail/1.11.1 (Linux/2.6.28; KDE/4.2.1; x86_64; ; )

On Saturday 04 April 2009 14:55:01 Reuben Thomas wrote:
> On Sat, 4 Apr 2009, Mike Frysinger wrote:
> > maybe use GNUmakefile.am rather than Makefile.am ?  and then keep a dummy
> > Makefile around that merely says "hey sucka, GNU-make only!" and/or just
> > re- run the specified command as gmake ...
>
> Thanks. I've actually for one reason and another managed to avoid needing
> GNUisms in my makefiles, though I asked this question originally when I
> thought I was about to need one. It can only be a matter of time, and I'll
> have these useful hints to refer to when that time comes!

what would be cool is if automake processed some GNU makeisms in the .am -> 
.in step.  personally, i use some things like $(wildcard) and $(patsubst) 
because i hate having to hand maintain a huge list of files -- i inevitably 
add more and forget to update the Makefile.am list.  for projects that need to 
be portable, i put a hack into autogen.sh which builds the list with a shell 
script and then sed's it into Makefile.am while for projects that do not need 
to be portable, i change the automake warning level.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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