SVN Revision now put into config.h by configure; removed -lrt dependency (needs more testing)
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@823 b68d4a1b-bc3d-0410-92ed-d4ac073336b7master
parent
d688a981d6
commit
54fc8fc0a9
@ -1,26 +0,0 @@
|
||||
BEGIN {
|
||||
print "/*"
|
||||
print " * version.h"
|
||||
print " * control long build version number"
|
||||
print " *"
|
||||
print " * Created automatically with version.awk script"
|
||||
print " *"
|
||||
print " */"
|
||||
print ""
|
||||
print "#ifndef __VERSION_H__"
|
||||
print "#define __VERSION_H__"
|
||||
print ""
|
||||
|
||||
FS="[ \t.]"
|
||||
}
|
||||
|
||||
/Revision/ { printf "#define URJTAG_BUILD_NUMBER\t\"%s\"\n", $2 }
|
||||
|
||||
END {
|
||||
print ""
|
||||
print "#ifndef URJTAG_BUILD_NUMBER"
|
||||
print "#define URJTAG_BUILD_NUMBER \"0\""
|
||||
print "#endif"
|
||||
print ""
|
||||
print "#endif"
|
||||
}
|
Loading…
Reference in New Issue