Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / pcre-ocaml
Commits:
-
0b86504f
by Stephane Glondu at 2023-08-13T18:48:31+02:00
4 changed files:
Changes:
1 | +pcre-ocaml (7.5.0-3) UNRELEASED; urgency=medium
|
|
2 | + |
|
3 | + * Use ocaml_dune DH buildsystem
|
|
4 | + |
|
5 | + -- Stéphane Glondu <glondu@debian.org> Sun, 13 Aug 2023 18:48:28 +0200
|
|
6 | + |
|
1 | 7 | pcre-ocaml (7.5.0-2) unstable; urgency=medium
|
2 | 8 | |
3 | 9 | * Fix build with recent dune
|
... | ... | @@ -9,7 +9,7 @@ Build-Depends: |
9 | 9 | ocaml,
|
10 | 10 | ocaml-dune,
|
11 | 11 | libdune-ocaml-dev,
|
12 | - dh-ocaml
|
|
12 | + dh-ocaml (>= 1.2)
|
|
13 | 13 | Standards-Version: 4.6.0
|
14 | 14 | Rules-Requires-Root: no
|
15 | 15 | Vcs-Git: https://salsa.debian.org/ocaml-team/pcre-ocaml.git
|
1 | +pcre |
1 | 1 | #!/usr/bin/make -f
|
2 | 2 | # -*- makefile -*-
|
3 | 3 | |
4 | -# Uncomment this to turn on verbose mode.
|
|
5 | -#export DH_VERBOSE=1
|
|
6 | - |
|
7 | -DESTDIR := $(CURDIR)/debian/tmp
|
|
8 | - |
|
9 | 4 | include /usr/share/ocaml/ocamlvars.mk
|
10 | 5 | |
11 | 6 | %:
|
12 | - dh $@ --with ocaml
|
|
13 | - |
|
14 | -override_dh_auto_build:
|
|
15 | - dune build -p pcre
|
|
16 | - |
|
17 | -override_dh_auto_test:
|
|
18 | -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
|
19 | - dune runtest -p pcre
|
|
20 | -endif
|
|
21 | - |
|
22 | -override_dh_auto_install:
|
|
23 | - dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
|
|
24 | - rm -f $(DESTDIR)/usr/doc/pcre/LICENSE.md |
|
7 | + dh $@ --with ocaml --buildsystem ocaml_dune |