Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / ocamldap


Commits:
db6cad40 by Stephane Glondu at 2023-07-15T14:37:58+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 @@
+ocamldap (2.4.2-2) unstable; urgency=medium
+
+  * Team upload
+  * Use ocaml_dune DH buildsystem
+
+ -- Stéphane Glondu <[email protected]>  Sat, 15 Jul 2023 14:37:54 +0200
+
 ocamldap (2.4.2-1) unstable; urgency=medium
 
   [ Stéphane Glondu ]


=====================================
debian/control
=====================================
@@ -10,7 +10,7 @@ Build-Depends:
  ocaml-dune,
  libocamlnet-ocaml-dev,
  libssl-ocaml-dev,
- dh-ocaml
+ dh-ocaml (>= 1.2)
 Standards-Version: 4.5.1
 Rules-Requires-Root: no
 Vcs-Git: https://salsa.debian.org/ocaml-team/ocamldap.git


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


=====================================
debian/rules
=====================================
@@ -1,19 +1,5 @@
 #!/usr/bin/make -f
-
-include /usr/share/ocaml/ocamlvars.mk
-
-DESTDIR := $(CURDIR)/debian/tmp
+# -*- makefile -*-
 
 %:
-       dh $@ --with ocaml
-
-override_dh_auto_build:
-       dune build -p ldap
-
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-       dune runtest -p ldap
-endif
-
-override_dh_auto_install:
-       dune install --destdir=$(DESTDIR) --prefix=/usr 
--libdir=..$(OCAML_STDLIB_DIR) ldap
+       dh $@ --with ocaml --buildsystem ocaml_dune



View it on GitLab: 
https://salsa.debian.org/ocaml-team/ocamldap/-/commit/db6cad401cda94aaa7c94c49320f8b34578000f9

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


Reply via email to