repo.or.cz
/
lilypond.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lilypond-1.3.11
[lilypond.git]
/
bin
/
make-version.sh
blob
3be14353cb14472d98e8427a0361b7d698dcc05a
1
#!/bin/sh
2
3
#shift;
4
if
test
"x
$1
"
=
x
;
5
then
6
versionfile
=
"VERSION"
7
else
8
versionfile
=
$1
;
9
fi
10
11
cat
$versionfile
|
sed
's/#.*$//g'
|
sed
's/\([^ ]*\)[
\t
]*=[
\t
]*\([^ ]*\)$/#define \1
\"
\2
\"
/g'
12
echo
13