On 14.05.2009 04:23, Peter Stuge wrote:
> Carl-Daniel Hailfinger wrote:
>   
>> +    @echo -n $(SVNVERSION) >flashrom-$(VERSION)/.svnversion
>>     
>
> That's pretty ugly.
>   

It's the only way I saw to preserve the svn revision in the tarball
(well except $Rev$ which would have been sprinkled over every file to
get a reasonable result) and have identical makefile functionality both
for exported trees and svn trees.

The big problem I tried to address in this patch is that most
distributions patch out the part of the makefile which tries to retrieve
the svn revision because the tarball they ship has no .svn directories
any more. That way, we lose revision information for most distribution
packages.

Any hints on how to fix this in a different way are appreciated.

Regards,
Carl-Daniel

-- 
http://www.hailfinger.org/


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to