Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / mlpost
Commits:
-
fd956f3c
by Stephane Glondu at 2023-08-13T19:27:35+02:00
4 changed files:
Changes:
1 | +mlpost (0.9-4) UNRELEASED; urgency=medium
|
|
2 | + |
|
3 | + * Use ocaml_dune DH buildsystem
|
|
4 | + |
|
5 | + -- Stéphane Glondu <glondu@debian.org> Sun, 13 Aug 2023 19:20:21 +0200
|
|
6 | + |
|
1 | 7 | mlpost (0.9-3) unstable; urgency=medium
|
2 | 8 | |
3 | 9 | * Team upload.
|
... | ... | @@ -12,7 +12,7 @@ Build-Depends: |
12 | 12 | libppxlib-ocaml-dev (>= 0.20.0),
|
13 | 13 | ocaml-findlib,
|
14 | 14 | ocaml,
|
15 | - dh-ocaml,
|
|
15 | + dh-ocaml (>= 1.2),
|
|
16 | 16 | ocaml-odoc,
|
17 | 17 | poppler-utils,
|
18 | 18 | graphviz,
|
1 | +mlpost |
... | ... | @@ -2,17 +2,9 @@ |
2 | 2 | # -*- makefile -*-
|
3 | 3 | |
4 | 4 | include /usr/share/ocaml/ocamlvars.mk
|
5 | -DESTDIR = $(CURDIR)/debian/tmp
|
|
6 | 5 | |
7 | 6 | %:
|
8 | - dh $@ --with ocaml
|
|
7 | + dh $@ --with ocaml --buildsystem ocaml_dune
|
|
9 | 8 | |
10 | 9 | override_dh_auto_build:
|
11 | - dune build -p mlpost @install @doc
|
|
12 | - |
|
13 | -override_dh_auto_install:
|
|
14 | - dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR) mlpost
|
|
15 | - rm -f $(DESTDIR)/usr/doc/*/LICENSE*
|
|
16 | - |
|
17 | -override_dh_auto_test:
|
|
18 | - dune runtest -p mlpost |
|
10 | + dune build -p $(shell cat debian/debian-dune) @install @doc |