[LinuxBIOS] [PATCH] superiotool: Make --version actually work correctly
Uwe Hermann
uwe at hermann-uwe.de
Fri Oct 5 19:46:28 CEST 2007
When trying to describe this patch the words 'crazy' and 'wacko' come to
mind, but believe it or not, this actually works _and_ it seems to be
the only way to make --version use the svn revision correctly.
The current --version output only changes when superiotool.h is updated,
which is not very useful, of course. This patch fixes it, in that all
changes to *.c or *.h files bump the version number.
Note: You will not be able to easily test this before the commit. You'll
get a segfault, as the $Rev$ instances will not be replaced until
_after_ the commit. If you want you can manually change '$Rev$' to
'$Rev: 2555 $' or so in all files (for testing)...
Uwe.
--
http://www.hermann-uwe.de | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: superiotool_svnversion.patch
Type: text/x-diff
Size: 5417 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20071005/3bb584c4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20071005/3bb584c4/attachment.sig>
More information about the coreboot
mailing list