|
From: | Reuben Thomas |
Subject: | Re: Using GNU Make |
Date: | Sat, 4 Apr 2009 20:15:43 +0100 (BST) |
User-agent: | Alpine 2.00 (DEB 1167 2008-08-23) |
On Sat, 4 Apr 2009, Mike Frysinger wrote:
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.
Given the portability of GNU Make itself and the number of systems that ship it even if it's not the default make, the day cannot be too far off when it makes sense to promote its use in autotools, in the sense of not merely allowing it but allowing it to be required, in the sort of manner I suggested. There are a number of times where I've had to work around the lack of GNU make features which are over 10 years old, which seems increasingly silly. For my present project, GNU Zile, which strives to be buildable on any system that conforms with 1993 POSIX, this is fair enough, but increasingly new projects will quite reasonably be assuming POSIX.1-2001, if nothing else because free documentation is widely available for it, unlike the 1993 version.
-- http://rrt.sc3d.org/ | Brevity is the soul
[Prev in Thread] | Current Thread | [Next in Thread] |