repo.or.cz
/
llpp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Relative
[llpp.git]
/
mkhelp.sh
blob
93dfef19f5e1fbcca7e64c678b9ef117113bf25f
1
#!/bin/sh
2
set -e
3
cat
$2
| ocaml str.cma
$1
4
v
=
$
(
cd
$
(
dirname
$1
) &&
git describe
--tags --dirty
2
>/
dev
/
null \
5
||
echo
"unknown"
)
6
echo
"let version =
\"
$v
\"
;;"