diff options
author | Stephane Glondu <steph@glondu.net> | 2023-08-13 19:11:11 +0200 |
---|---|---|
committer | Stephane Glondu <steph@glondu.net> | 2023-08-13 19:11:11 +0200 |
commit | f55277e9b18ef6e57406b62cbf061111add06f0e (patch) | |
tree | 92a75167a56b76eea3da39890be1561e5dca1512 | |
parent | 51bb6a2202f839058904bd4cdd6db755fcc8557b (diff) |
Use ocaml_dune DH buildsystem
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/debian-dune | 1 | ||||
-rwxr-xr-x | debian/rules | 22 |
4 files changed, 10 insertions, 21 deletions
diff --git a/debian/changelog b/debian/changelog index 9fa5dda..659feb0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +obus (1.2.4-3) UNRELEASED; urgency=medium + + * Use ocaml_dune DH buildsystem + + -- Stéphane Glondu <glondu@debian.org> Sun, 13 Aug 2023 19:11:08 +0200 + obus (1.2.4-2) unstable; urgency=medium * Team upload. diff --git a/debian/control b/debian/control index 2784192..4c2bfb5 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org> Uploaders: Stéphane Glondu <glondu@debian.org> Build-Depends: debhelper-compat (= 13), - dh-ocaml, + dh-ocaml (>= 1.2), libxmlm-ocaml-dev, liblwt-ocaml-dev (>= 4.3.0), liblwt-log-ocaml-dev, diff --git a/debian/debian-dune b/debian/debian-dune new file mode 100644 index 0000000..d1cbabe --- /dev/null +++ b/debian/debian-dune @@ -0,0 +1 @@ +obus diff --git a/debian/rules b/debian/rules index f098ac8..91ce70b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,25 +1,7 @@ #!/usr/bin/make -f # -*- makefile -*- -include /usr/share/ocaml/ocamlvars.mk -DESTDIR=$(CURDIR)/debian/tmp +include /usr/share/ocaml/ocamlvars.mk %: - dh $@ --with ocaml - -override_dh_auto_build: - dune build -p obus - -override_dh_auto_install: - dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR) - rm -f $(DESTDIR)/usr/doc/obus/LICENSE - -override_dh_auto_test: -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - dune runtest -p obus -endif - -override_dh_auto_clean: - dune clean - -override_dh_dwz: + dh $@ --with ocaml --buildsystem ocaml_dune |