(library
 (name ben)
 (public_name ben)
 (foreign_stubs
  (language c)
  (names dpkg_stubs))
 (libraries dynlink unix re parmap tyxml postgresql ocamlgraph fileutils extlib)
 (modules_without_implementation types template))

(ocamllex lexer)
(menhir (modules parser))

(rule
 (target version.ml)
 (deps version.mlp ../debian/changelog)
 (action
  (with-stdout-to %{target}
   (chdir %{project_root} (run lib/fill_version.sh lib/version.mlp)))))
