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
signature.asc
Description: This is a digitally signed message part.
