Commit e5e521df authored by bguillaum's avatar bguillaum

fix opam install

git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/semagramme/dep2pict/trunk@7868 7838e531-6607-4d57-9587-6c381814729c
parent 9bb77ea5
opam-version: "1"
maintainer: "Bruno.Guillaume@loria.fr"
build: [
["./configure"]
["./configure" "--prefix" prefix]
["make"]
["make" "install"]
]
......
......@@ -17,17 +17,18 @@ let _ =
let version = VERSION
let usage =
"Usage: dep2pict [ -png | -svg | -pdf ] -dep <dep_file> -o <output_file> \n" ^
"\t -dep <dep_file>: input file\n" ^
"\t -conll <conll_file>: input file\n" ^
"\t -o <file>: output file\n" ^
"\t -png: to transform dep_file to png file (this is the default)\n" ^
"\t -pdf: to transform dep_file to pdg file\n" ^
"\t -svg: to transform dep_file to svg file\n" ^
"\t -features <string>: set features to display with CONLL input, string should contain a subset of {l,p,s,t,g,m,n} or A (for all). Default is \"\"\n" ^
"\t -ref: add dotted links for ellpsis" ^
"\t -v: display version number ("^version^")\n"
let usage = String.concat "\n" [
"Usage:";
" * dep2pict <options> -dep <dep_file> -o <output_file>";
" * dep2pict <options> -conll <<conll_file> -o <output_file>";
"Options:";
" -png: set output format to png (this is the default)";
" -pdf: set output format to pdf";
" -svg: set output format to svg";
" -features <string>: set features to display with CONLL input, string should contain a subset of {l,p,s,t,g,m,n} or A (for all). Default is \"\"";
" -ref: add dotted links for ellpsis";
" -v: display version number ("^version^")";
]
type output = Png | Svg | Pdf
let output = ref Png
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment