[Openchrome-devel] generate svnrelease.h on make dist

Xavier Bachelot xavier
Sun Mar 30 08:39:01 PDT 2008

Xavier Bachelot wrote:
> Xavier Bachelot wrote:
>> Hi all,
>> I'd like to have make dist automagically generate a svnrelease.h file 
>> that contains :
>> #define BUILDCOMMENT "(openchrome 0.2.901 release)\n"
>> with the version taken from configure.ac (or major, minor and patchlevel 
>> from src/via_driver.h ?)
>> configure.ac and src/via_driver.h are the only filers that needs to be 
>> modified before a release and svnrelease.h should never be in the 
>> repository.
>> I don't think it'd be that hard for someone who understand the 
>> autotools, but I unfortunately don't :-(
> Ok, I solved this problem. Changeset 554 if anyone is interested.
Ok, autotool bite me again. the svnrelease.h file is properly generated 
by 'make dist', however the file is not added in the tarball. I tried to 
add svnrelease.h to EXTRA_DIST but then it complains that there's not 
target for svnrelease.h

Anyone can help, it's driving me nuts...


More information about the Openchrome-devel mailing list