lilypond-0.1.18
[lilypond.git] / bin / make_fversion
blob185eaae445530d2b560f855e0c9b95013b4f6d6d
1 #!/bin/sh
2 echo '#ifndef FVERSION_HH'
3 echo '#define FVERSION_HH'
4 echo '#define FMAJOR_VERSION ' "$1"
5 echo '#define FMINOR_VERSION ' "$2"
6 echo '#define FPATCH_LEVEL ' "$3"
7 echo '#define FMY_PATCH_LEVEL ' "$4"
8 echo '#define FBUILD ' "$5"
9 echo '#define FVERSIONSTR "'$1.$2.$3$4 \#$5'"'
10 echo '#define FCOMPILER "'$6'"'
11 echo '#endif'