Run git describe in the source directory
[llpp.git] / mkhelp.sh
blob9d6786da087c1b3535c693dc570e29312e491734
1 ocaml str.cma $1 $2
2 v=$((cd $(dirname $1) && git describe --tags --dirty 2>/dev/null) \
3 || echo "unknown")
4 printf 'let version ="%s";;\n' $v