diff options
| author | Théo Zimmermann | 2019-08-22 18:24:15 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2019-08-22 18:24:15 +0200 |
| commit | edd7519b6e1af6d62194f9f3dcc938534b86d036 (patch) | |
| tree | 2742926e3c75a71316219ea29bae6cc51fd7b289 /tools | |
| parent | 41d7105708dbd4a3066a1a92d69ad2547e51ee76 (diff) | |
| parent | 1c34e2244e77a0759bf7a5b6925643de8fe133b5 (diff) | |
Merge PR #10515: [dune] Move to Dune 1.10, use coq.pp directive.
Reviewed-by: Zimmi48
Reviewed-by: vbgl
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/coq_dune.ml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/coq_dune.ml b/tools/coq_dune.ml index 1920d493de..adb416e3ce 100644 --- a/tools/coq_dune.ml +++ b/tools/coq_dune.ml @@ -193,9 +193,7 @@ let pp_vo_dep dir fmt vo = pp_rule fmt all_targets deps action let pp_mlg_dep _dir fmt ml = - let target = Filename.(remove_extension ml) ^ ".ml" in - let mlg_rule = "(run coqpp %{pp-file})" in - pp_rule fmt [target] [ml] mlg_rule + fprintf fmt "@[(coq.pp (modules %s))@]@\n" (Filename.remove_extension ml) let pp_dep dir fmt oo = match oo with | VO vo -> pp_vo_dep dir fmt vo |
