On 9/1/06, Martin Bähr <[EMAIL PROTECTED]> wrote: > On Fri, Sep 01, 2006 at 04:15:35PM +0200, Axel Liljencrantz wrote: > > > > echo $version > > > 1.21.11-0darcs2 > > That is useful. It would be nice if the version number of the darcs > > tree automatically contained '-darcs-[DATE]'. Can't think of an easy > > way of doing that automatically, though. > > configure and autoconf do most stuff with shell scripts so you should be > able to fit a date(1) output in there somewhere. but then people say bad > things about autoconf.
The version number already comes through autoconf, it's specified in configure.ac. It would be possible to add the date there, but you only want to do that when the source is pulled from Darcs, not otherwise. As to Autoconf, I'm not much of a fan, but I haven't seen a viable replacement for it either. cmake, scons and all the other new build systems are _build_ systems, i.e. replecemnts for make and automake, but the don't seem to come close to replacing autoconf, which is a tool for detecting what features are missing/present on the current system, what macros have to be run to enable them, what fallbacks havbe to be used to work around known system bugs, etc.. > > greetings, martin. > -- > cooperative communication with sTeam - caudium, pike, roxen and unix > offering: programming, training and administration - anywhere in the world > -- > pike programmer travelling and working in europe open-steam.org > unix system- bahai.or.at iaeste.(tuwien.ac|or).at > administrator (caudium|gotpike).org is.schon.org > Martin Bähr http://www.iaeste.or.at/~mbaehr/ > -- Axel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
