From 297eaf6373cb6b51dbaef9b93d9160f89fd13037 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Sat, 15 Jul 2023 12:00:38 +0200 Subject: Use ocaml_dune DH buildsystem --- debian/changelog | 6 ++++++ debian/control | 2 +- debian/debian-dune | 1 + debian/rules | 15 +-------------- 4 files changed, 9 insertions(+), 15 deletions(-) create mode 100644 debian/debian-dune diff --git a/debian/changelog b/debian/changelog index 9ce191d..94e5dd1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +reactivedata (0.3-2) unstable; urgency=medium + + * Use ocaml_dune DH buildsystem + + -- Stéphane Glondu Sat, 15 Jul 2023 12:00:27 +0200 + reactivedata (0.3-1) unstable; urgency=medium [ Stéphane Glondu ] diff --git a/debian/control b/debian/control index 33682ef..3e3af14 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,7 @@ Build-Depends: libreact-ocaml-dev (>= 1.2.1), ocaml-nox, ocaml-dune, - dh-ocaml + dh-ocaml (>= 1.2) Standards-Version: 4.5.0 Rules-Requires-Root: no Homepage: https://github.com/ocsigen/reactiveData diff --git a/debian/debian-dune b/debian/debian-dune new file mode 100644 index 0000000..3513e4f --- /dev/null +++ b/debian/debian-dune @@ -0,0 +1 @@ +reactiveData diff --git a/debian/rules b/debian/rules index 58da285..5f443ee 100755 --- a/debian/rules +++ b/debian/rules @@ -1,18 +1,5 @@ #!/usr/bin/make -f # -*- makefile -*- -include /usr/share/ocaml/ocamlvars.mk - -DESTDIR=$(CURDIR)/debian/tmp - %: - dh $@ --with ocaml - -override_dh_auto_build: - dune build -p reactiveData - -override_dh_auto_install: - dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) - -override_dh_auto_test: - dune runtest -p reactiveData + dh $@ --with ocaml --buildsystem ocaml_dune -- cgit v1.2.3