diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/debian-dune | 1 | ||||
-rwxr-xr-x | debian/rules | 17 |
4 files changed, 11 insertions, 16 deletions
diff --git a/debian/changelog b/debian/changelog index 14b016e..630ab23 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ocaml-ptmap (2.0.5-2) unstable; urgency=medium + + * Team upload + * Use ocaml_dune DH buildsystem + + -- Stéphane Glondu <glondu@debian.org> Sat, 15 Jul 2023 16:01:32 +0200 + ocaml-ptmap (2.0.5-1) unstable; urgency=medium * Team upload diff --git a/debian/control b/debian/control index 1a889d5..31b9c60 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ Build-Depends: ocaml-nox, ocaml-dune, ocaml-findlib, - dh-ocaml + dh-ocaml (>= 1.2) Homepage: https://github.com/backtracking/ptmap Vcs-Browser: https://salsa.debian.org/ocaml-team/ocaml-ptmap Vcs-Git: https://salsa.debian.org/ocaml-team/ocaml-ptmap.git diff --git a/debian/debian-dune b/debian/debian-dune new file mode 100644 index 0000000..f3e535c --- /dev/null +++ b/debian/debian-dune @@ -0,0 +1 @@ +ptmap diff --git a/debian/rules b/debian/rules index ee61c8a..5f443ee 100755 --- a/debian/rules +++ b/debian/rules @@ -1,18 +1,5 @@ #!/usr/bin/make -f - -DESTDIR=$(CURDIR)/debian/tmp - -include /usr/share/ocaml/ocamlvars.mk +# -*- makefile -*- %: - dh $@ --with ocaml - -override_dh_auto_build: - dune build -p ptmap - -override_dh_auto_install: - dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) - rm -f debian/tmp/usr/doc/ptmap/LICENSE - -override_dh_auto_test: - dune runtest -p ptmap + dh $@ --with ocaml --buildsystem ocaml_dune |