Re: Question on version number with configure.acand bakefile
Stefano Antonelli <santonelli-p2Cncya/2BcAspv4Qr0y0gC/[email protected]> Wed, 22 Dec 2010 15:54:10 -0800
| Newsgroups | gmane.comp.sysutils.bakefile.devel |
|---|---|
| Message-ID | <[email protected]> |
Stefano Antonelli wrote: > Stefano Antonelli wrote: > >> If Bakefile could output some variables in a version.m4 then the version >> number could be contained in the .bkl file only. > > Can Bakefile's built-in extensibility be used to write a piece of .bkl that could output to a file when autoconf_inc.m4 is created? If so, could you point me in the right direction with how to accomplish this? If not, where would be the right place to change this? After some poking around, I think it can be done though I'm a little stuck. Without being a Bakefile expert, I think it's possible to use the <output> tag from the makefile to generate the file I want. Consider the following snippet: <output file="version.m4" writer="ac_version.empy"/> This requires my custom ac_version.empy file and that means it must be installed in the bakefile program directory. That's obviously not very useful. Is there any way to point the writer path to an arbitrary directory? If not, is there a better way to do this? Thanks, Stef ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl