Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / ocaml-re


Commits:
5122a673 by Stephane Glondu at 2023-07-15T16:30:30+02:00
Use ocaml_dune DH buildsystem

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/debian-dune
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+ocaml-re (1.10.4-2) unstable; urgency=medium
+
+  * Team upload
+  * Use ocaml_dune DH buildsystem
+
+ -- Stéphane Glondu <[email protected]>  Sat, 15 Jul 2023 16:30:27 +0200
+
 ocaml-re (1.10.4-1) unstable; urgency=medium
 
   [ Stéphane Glondu ]


=====================================
debian/control
=====================================
@@ -11,7 +11,7 @@ Build-Depends:
  ocaml-dune,
  libseq-ocaml-dev,
  libounit-ocaml-dev,
- dh-ocaml
+ dh-ocaml (>= 1.2)
 Standards-Version: 4.6.1
 Rules-Requires-Root: no
 Homepage: https://github.com/ocaml/ocaml-re


=====================================
debian/debian-dune
=====================================
@@ -0,0 +1 @@
+re


=====================================
debian/rules
=====================================
@@ -1,22 +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 re
-
-override_dh_auto_test:
-       dune runtest -p re
-
-override_dh_auto_install:
-       dune install --destdir=$(DESTDIR) --prefix=/usr 
--libdir=..$(OCAML_STDLIB_DIR)
-       rm -f $(DESTDIR)/usr/doc/re/LICENSE.md
-
-override_dh_missing:
-       dh_missing --list-missing
+       dh $@ --with ocaml --buildsystem ocaml_dune



View it on GitLab: 
https://salsa.debian.org/ocaml-team/ocaml-re/-/commit/5122a673bc56bc8e458ef03d717744041212ed96

-- 
View it on GitLab: 
https://salsa.debian.org/ocaml-team/ocaml-re/-/commit/5122a673bc56bc8e458ef03d717744041212ed96
You're receiving this email because of your account on salsa.debian.org.


Reply via email to