Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / 
ppx-sexp-conv


Commits:
867263c0 by Stephane Glondu at 2023-08-06T07:51:11+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,9 @@
+ppx-sexp-conv (1:0.16.0-3) unstable; urgency=medium
+
+  * Use ocaml_dune DH buildsystem
+
+ -- Stéphane Glondu <[email protected]>  Sun, 06 Aug 2023 07:51:00 +0200
+
 ppx-sexp-conv (1:0.16.0-2) unstable; urgency=medium
 
   * Fix compilation with recent dune.


=====================================
debian/control
=====================================
@@ -11,7 +11,7 @@ Build-Depends:
  libbase-ocaml-dev (>= 0.14),
  libsexplib0-ocaml-dev (>= 0.16),
  libppxlib-ocaml-dev (>= 0.22.0),
- dh-ocaml
+ dh-ocaml (>= 1.2)
 Standards-Version: 4.6.2
 Rules-Requires-Root: no
 Vcs-Browser: https://salsa.debian.org/ocaml-team/ppx-sexp-conv


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


=====================================
debian/rules
=====================================
@@ -1,15 +1,7 @@
 #!/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 ppx_sexp_conv
-
-override_dh_auto_install:
-       dune install --destdir=$(DESTDIR) --prefix=/usr 
--libdir=$(OCAML_STDLIB_DIR)
-       rm -f $(DESTDIR)/usr/doc/ppx_sexp_conv/LICENSE.md
+       dh $@ --with ocaml --buildsystem ocaml_dune



View it on GitLab: 
https://salsa.debian.org/ocaml-team/ppx-sexp-conv/-/commit/867263c04455eb290efcb12c5070b9224db3e524

-- 
View it on GitLab: 
https://salsa.debian.org/ocaml-team/ppx-sexp-conv/-/commit/867263c04455eb290efcb12c5070b9224db3e524
You're receiving this email because of your account on salsa.debian.org.


Reply via email to