Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / variantslib
Commits:
-
1e9362c8
by Stephane Glondu at 2023-08-13T18:35:44+02:00
4 changed files:
Changes:
1 | +variantslib (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:35:27 +0200
|
|
6 | + |
|
1 | 7 | variantslib (1:0.16.0-1) unstable; urgency=medium
|
2 | 8 | |
3 | 9 | * Team upload.
|
... | ... | @@ -9,7 +9,7 @@ Build-Depends: |
9 | 9 | ocaml-findlib,
|
10 | 10 | ocaml-dune,
|
11 | 11 | libbase-ocaml-dev (>= 0.14),
|
12 | - dh-ocaml
|
|
12 | + dh-ocaml (>= 1.2)
|
|
13 | 13 | Standards-Version: 4.5.0
|
14 | 14 | Rules-Requires-Root: no
|
15 | 15 | Homepage: https://github.com/janestreet/variantslib
|
1 | +variantslib |
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 variantslib
|
|
12 | - |
|
13 | -override_dh_auto_install:
|
|
14 | - dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
|
|
15 | - rm -f $(DESTDIR)/usr/doc/variantslib/LICENSE.md
|
|
16 | - |
|
17 | -override_dh_dwz: |
|
7 | + dh $@ --with ocaml --buildsystem ocaml_dune |