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


Commits:
4ae31e26 by Stephane Glondu at 2023-07-15T11:05:25+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-tools (6.6-2) unstable; urgency=medium
+
+  * Use ocaml_dune DH buildsystem
+
+ -- Stéphane Glondu <[email protected]>  Sat, 15 Jul 2023 11:05:20 +0200
+
 ppx-tools (6.6-1) unstable; urgency=medium
 
   * New upstream release


=====================================
debian/control
=====================================
@@ -9,7 +9,7 @@ Build-Depends:
  ocaml-nox (>= 4.08),
  ocaml-dune,
  cppo,
- dh-ocaml
+ dh-ocaml (>= 1.2)
 Standards-Version: 4.6.0
 Rules-Requires-Root: no
 Homepage: https://github.com/ocaml-ppx/ppx_tools


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


=====================================
debian/rules
=====================================
@@ -1,15 +1,5 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-DESTDIR=$(CURDIR)/debian/tmp
-include /usr/share/ocaml/ocamlvars.mk
-
 %:
-       dh $@ --with ocaml
-
-override_dh_auto_build:
-       dune build -p ppx_tools
-
-override_dh_auto_install:
-       dune install --destdir=$(DESTDIR) --prefix=/usr 
--libdir=..$(OCAML_STDLIB_DIR)
-       rm -f $(DESTDIR)/usr/doc/ppx_tools/LICENSE
+       dh $@ --with ocaml --buildsystem ocaml_dune



View it on GitLab: 
https://salsa.debian.org/ocaml-team/ppx-tools/-/commit/4ae31e26214bc550906fd2966cca5a4019c97ee2

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


Reply via email to