diff options
author | Stephane Glondu <steph@glondu.net> | 2023-07-15 12:00:38 +0200 |
---|---|---|
committer | Stephane Glondu <steph@glondu.net> | 2023-07-15 12:00:38 +0200 |
commit | 297eaf6373cb6b51dbaef9b93d9160f89fd13037 (patch) | |
tree | 48d1195a93c69ecf1dfa520502b18f9908c8e279 | |
parent | 41736c48cc7ff0848c84379754213cf0c1ff5829 (diff) |
Use ocaml_dune DH buildsystemdebian/0.3-2
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/debian-dune | 1 | ||||
-rwxr-xr-x | debian/rules | 15 |
4 files changed, 9 insertions, 15 deletions
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 <glondu@debian.org> 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 |