Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / sexplib310
Commits:
-
96b0d881
by Stephane Glondu at 2023-08-13T18:38:51+02:00
4 changed files:
Changes:
1 | +sexplib310 (1:0.16.0-2) UNRELEASED; urgency=medium
|
|
2 | + |
|
3 | + * Use ocaml_dune DH buildsystem
|
|
4 | + |
|
5 | + -- Stéphane Glondu <glondu@debian.org> Sun, 13 Aug 2023 18:38:36 +0200
|
|
6 | + |
|
1 | 7 | sexplib310 (1:0.16.0-1) unstable; urgency=medium
|
2 | 8 | |
3 | 9 | * Team upload.
|
... | ... | @@ -11,7 +11,7 @@ Build-Depends: |
11 | 11 | libnum-ocaml-dev,
|
12 | 12 | libsexplib0-ocaml-dev (>= 0.14),
|
13 | 13 | libparsexp-ocaml-dev (>= 0.14),
|
14 | - dh-ocaml
|
|
14 | + dh-ocaml (>= 1.2)
|
|
15 | 15 | Standards-Version: 4.6.2
|
16 | 16 | Rules-Requires-Root: no
|
17 | 17 | Vcs-Browser: https://salsa.debian.org/ocaml-team/sexplib310
|
1 | +sexplib |
1 | 1 | #!/usr/bin/make -f
|
2 | - |
|
3 | -DESTDIR=$(CURDIR)/debian/tmp
|
|
2 | +# -*- makefile -*-
|
|
4 | 3 | |
5 | 4 | include /usr/share/ocaml/ocamlvars.mk
|
6 | 5 | |
7 | 6 | %:
|
8 | - dh $@ --with ocaml
|
|
9 | - |
|
10 | -override_dh_auto_build:
|
|
11 | - dune build -p sexplib
|
|
12 | - |
|
13 | -override_dh_auto_install:
|
|
14 | - dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
|
|
15 | - rm -f $(DESTDIR)/usr/doc/sexplib/LICENSE.md
|
|
16 | - |
|
17 | -override_dh_auto_test:
|
|
18 | -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
|
19 | - dune runtest -p sexplib
|
|
20 | -endif
|
|
21 | - |
|
22 | -override_dh_dwz: |
|
7 | + dh $@ --with ocaml --buildsystem ocaml_dune |