(library
 (name ben)
 (public_name ben)
 (wrapped false)
 (foreign_stubs
  (language c)
  (names benl_dpkg))
 (libraries dynlink unix re parmap tyxml postgresql ocamlgraph fileutils extlib)
 (modules_without_implementation benl_types template))

(ocamllex benl_lexer)
(menhir (modules benl_parser))

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