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


Commits:
baa976a1 by Stephane Glondu at 2023-07-15T14:45:09+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-fileutils (0.6.4-2) unstable; urgency=medium
+
+  * Team upload
+  * Use ocaml_dune DH buildsystem
+
+ -- Stéphane Glondu <[email protected]>  Sat, 15 Jul 2023 14:45:05 +0200
+
 ocaml-fileutils (0.6.4-1) unstable; urgency=medium
 
   [ Stéphane Glondu ]


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


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


=====================================
debian/rules
=====================================
@@ -1,23 +1,5 @@
 #!/usr/bin/make -f
-# debian/rules for ocaml-fileutils package
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-#export DH_OPTIONS=-v
-
-DESTDIR=$(CURDIR)/debian/tmp
-
-include /usr/share/ocaml/ocamlvars.mk
+# -*- makefile -*-
 
 %:
-       dh $@ --with ocaml
-
-override_dh_auto_build:
-       dune build -p fileutils
-
-override_dh_auto_test:
-       dune runtest -p fileutils
-
-override_dh_auto_install:
-       dune install --destdir=$(DESTDIR) --prefix=/usr 
--libdir=..$(OCAML_STDLIB_DIR)
-       rm -f $(DESTDIR)/usr/doc/fileutils/LICENSE.txt
+       dh $@ --with ocaml --buildsystem ocaml_dune



View it on GitLab: 
https://salsa.debian.org/ocaml-team/ocaml-fileutils/-/commit/baa976a10e6b2e69b693dd13b3f87a6d215f00b4

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


Reply via email to