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
No longer needed
[llpp.git]
/
mkhelp.sh
blob
ee4b4f0c66fa69e4be5cdad0e771c9bf53ae00e3
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
printf
'let version ="%s";;
\n
'
$v