From 634f30e49d36a21eff8ae2e8f9e5e8336fcbfebb Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Sat, 15 Jul 2023 16:28:33 +0200 Subject: Use ocaml_dune DH buildsystem --- debian/changelog | 7 +++++++ debian/control | 2 +- debian/debian-dune | 1 + debian/rules | 19 ++----------------- 4 files changed, 11 insertions(+), 18 deletions(-) create mode 100644 debian/debian-dune diff --git a/debian/changelog b/debian/changelog index 2124f89..d637c6e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +ocaml-xmlplaylist (0.1.5-2) unstable; urgency=medium + + * Team upload + * Use ocaml_dune DH buildsystem + + -- Stéphane Glondu Sat, 15 Jul 2023 16:28:20 +0200 + ocaml-xmlplaylist (0.1.5-1) unstable; urgency=medium * Team upload diff --git a/debian/control b/debian/control index 8c55411..e303356 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Build-Depends: debhelper-compat (= 13), dh-buildinfo, ocaml-nox, - dh-ocaml, + dh-ocaml (>= 1.2), ocaml-dune (>= 2.0), libxmlm-ocaml-dev Standards-Version: 4.5.0 diff --git a/debian/debian-dune b/debian/debian-dune new file mode 100644 index 0000000..36030f3 --- /dev/null +++ b/debian/debian-dune @@ -0,0 +1 @@ +xmlplaylist diff --git a/debian/rules b/debian/rules index c2aac8a..5f443ee 100755 --- a/debian/rules +++ b/debian/rules @@ -1,20 +1,5 @@ #!/usr/bin/make -f - -include /usr/share/ocaml/ocamlvars.mk - -DESTDIR = $(CURDIR)/debian/tmp +# -*- makefile -*- %: - dh $@ --with ocaml - -override_dh_auto_build: - dune build -p xmlplaylist - -override_dh_auto_install: - dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) - -override_dh_auto_test: - dune runtest -p xmlplaylist - -override_dh_auto_clean: - dune clean + dh $@ --with ocaml --buildsystem ocaml_dune -- cgit v1.2.3