From 8d686f2bceb1fa5249ccf687b8fea92dd28b7b6c Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Wed, 26 Feb 2020 16:29:53 +0100 Subject: [PATCH] depends on odoc when building with-doc --- dune-project | 1 + ppx_distr_guards.opam | 1 + 2 files changed, 2 insertions(+) diff --git a/dune-project b/dune-project index e0aeda9..cff94e9 100644 --- a/dune-project +++ b/dune-project @@ -16,5 +16,6 @@ (depends (dune (>= 2.3.0)) (ocaml-migrate-parsetree (>= 1.6.0)) + (odoc :with-doc) ) ) diff --git a/ppx_distr_guards.opam b/ppx_distr_guards.opam index d2ca0b6..9b8784f 100644 --- a/ppx_distr_guards.opam +++ b/ppx_distr_guards.opam @@ -12,6 +12,7 @@ bug-reports: "https://github.com/vogler/ppx_distr_guards/issues" depends: [ "dune" {>= "2.3.0"} "ocaml-migrate-parsetree" {>= "1.6.0"} + "odoc" {with-doc} ] build: [ ["dune" "subst"] {pinned}