diff options
author | Stephane Glondu <steph@glondu.net> | 2023-07-15 14:21:34 +0200 |
---|---|---|
committer | Stephane Glondu <steph@glondu.net> | 2023-07-15 14:21:34 +0200 |
commit | 29841a367567664b7da2a2620a1fa83a549c2129 (patch) | |
tree | 4038243f3301eb1c9fde901ad1968346f1c66529 | |
parent | 6b229e59197d2dc8a7b66b3f24f3025948c395cf (diff) |
Use ocaml_dune DH buildsystemdebian/3.0.0-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 | 13 |
4 files changed, 10 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog index 001f58d..7829f74 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +calendar (3.0.0-2) unstable; urgency=medium + + * Use ocaml_dune DH buildsystem + + -- Stéphane Glondu <glondu@debian.org> Sat, 15 Jul 2023 14:21:29 +0200 + calendar (3.0.0-1) unstable; urgency=medium [ Stéphane Glondu ] diff --git a/debian/control b/debian/control index 4682814..ba9426f 100644 --- a/debian/control +++ b/debian/control @@ -13,7 +13,7 @@ Build-Depends: ocaml-odoc, libre-ocaml-dev, libalcotest-ocaml-dev, - dh-ocaml + dh-ocaml (>= 1.2) Rules-Requires-Root: no Standards-Version: 4.6.2 Homepage: https://github.com/ocaml-community/calendar diff --git a/debian/debian-dune b/debian/debian-dune new file mode 100644 index 0000000..7b0ed81 --- /dev/null +++ b/debian/debian-dune @@ -0,0 +1 @@ +calendar diff --git a/debian/rules b/debian/rules index 3ee3ec1..1deb2de 100755 --- a/debian/rules +++ b/debian/rules @@ -1,18 +1,9 @@ #!/usr/bin/make -f -include /usr/share/ocaml/ocamlvars.mk - -DESTDIR = $(CURDIR)/debian/tmp +# -*- makefile -*- %: - dh $@ --with ocaml + dh $@ --with ocaml --buildsystem ocaml_dune override_dh_auto_build: dune build -p calendar dune build @doc -p calendar - -override_dh_auto_install: - dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) - rm -f $(DESTDIR)/usr/doc/calendar/LICENSE - -override_dh_auto_test: - dune runtest -p calendar |