Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / ocaml-bitstring
Commits: 6aac596c by Stephane Glondu at 2023-08-06T09:55:58+02:00 Use ocaml_dune DH buildsystem - - - - - 5 changed files: - debian/changelog - debian/control - + debian/debian-dune - + debian/not-installed - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +ocaml-bitstring (4.1.1-2) unstable; urgency=medium + + * Use ocaml_dune DH buildsystem + + -- Stéphane Glondu <[email protected]> Sun, 06 Aug 2023 09:55:14 +0200 + ocaml-bitstring (4.1.1-1) unstable; urgency=medium * Team upload. ===================================== debian/control ===================================== @@ -11,7 +11,7 @@ Build-Depends: ocaml-dune, libppxlib-ocaml-dev (>= 0.18.0), libounit-ocaml-dev, - dh-ocaml, + dh-ocaml (>= 1.2.2), time Standards-Version: 4.6.2 Rules-Requires-Root: no ===================================== debian/debian-dune ===================================== @@ -0,0 +1,2 @@ +bitstring +ppx_bitstring ===================================== debian/not-installed ===================================== @@ -0,0 +1 @@ +usr/doc/ppx_bitstring ===================================== debian/rules ===================================== @@ -2,27 +2,6 @@ # -*- makefile -*- include /usr/share/ocaml/ocamlvars.mk -DESTDIR := $(CURDIR)/debian/tmp %: - dh $@ --with ocaml - -override_dh_auto_clean: - dune clean - -override_dh_auto_build: - rm -rf _tmp - OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p bitstring - dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=$(OCAML_STDLIB_DIR) bitstring - OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p ppx_bitstring - dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=$(OCAML_STDLIB_DIR) ppx_bitstring - -override_dh_auto_test: - OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune runtest -p bitstring - OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune runtest -p ppx_bitstring - -override_dh_auto_install: - rm -rf debian/tmp - cp -a $(CURDIR)/_tmp debian/tmp - for u in ppx_bitstring; do rm -rf $(DESTDIR)/usr/doc/$$u; done - rm -f $(DESTDIR)/usr/doc/*/LICENSE* + dh $@ --with ocaml --buildsystem ocaml_dune View it on GitLab: https://salsa.debian.org/ocaml-team/ocaml-bitstring/-/commit/6aac596c103c7bb99fa8cbc93dbf1fd228965557 -- View it on GitLab: https://salsa.debian.org/ocaml-team/ocaml-bitstring/-/commit/6aac596c103c7bb99fa8cbc93dbf1fd228965557 You're receiving this email because of your account on salsa.debian.org.

