Stéphane Glondu pushed to branch master at Debian OCaml Maintainers / ocaml-dune
Commits:
-
3ddff6fb
by Stéphane Glondu at 2022-11-21T09:34:38+01:00
-
ead92aee
by Stéphane Glondu at 2022-11-21T09:42:21+01:00
3 changed files:
Changes:
| 1 | +ocaml-dune (2.9.1-2) UNRELEASED; urgency=medium
|
|
| 2 | + |
|
| 3 | + * Add pkg.ocaml-dune.nocsexp build profile, to cut build-dependency
|
|
| 4 | + loop if needed
|
|
| 5 | + |
|
| 6 | + -- Stéphane Glondu <glondu@debian.org> Mon, 21 Nov 2022 09:41:55 +0100
|
|
| 7 | + |
|
| 1 | 8 | ocaml-dune (2.9.1-1) unstable; urgency=medium
|
| 2 | 9 | |
| 3 | 10 | * Team upload.
|
| ... | ... | @@ -6,7 +6,7 @@ Uploaders: Stéphane Glondu <glondu@debian.org> |
| 6 | 6 | Build-Depends:
|
| 7 | 7 | debhelper-compat (= 13),
|
| 8 | 8 | ocaml-nox,
|
| 9 | - libcsexp-ocaml-dev,
|
|
| 9 | + libcsexp-ocaml-dev <!pkg.ocaml-dune.nocsexp>,
|
|
| 10 | 10 | dh-ocaml
|
| 11 | 11 | Standards-Version: 4.5.0
|
| 12 | 12 | Rules-Requires-Root: no
|
| ... | ... | @@ -36,6 +36,7 @@ Description: composable build system for OCaml projects |
| 36 | 36 | |
| 37 | 37 | Package: libdune-ocaml-dev
|
| 38 | 38 | Architecture: any
|
| 39 | +Build-Profiles: <!pkg.ocaml-dune.nocsexp>
|
|
| 39 | 40 | Depends:
|
| 40 | 41 | ${ocaml:Depends},
|
| 41 | 42 | ${shlibs:Depends},
|
| ... | ... | @@ -25,10 +25,12 @@ override_dh_auto_build: |
| 25 | 25 | ocaml bootstrap.ml
|
| 26 | 26 | ./dune.exe build -p dune --profile dune-bootstrap
|
| 27 | 27 | ./dune.exe install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) dune
|
| 28 | +ifneq (,$(filter libdune-ocaml-dev,$(shell dh_listpackages)))
|
|
| 28 | 29 | PATH=$(CURDIR)/_tmp/usr/bin:$(PATH) OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p dune-private-libs
|
| 29 | 30 | PATH=$(CURDIR)/_tmp/usr/bin:$(PATH) OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) dune-private-libs
|
| 30 | 31 | PATH=$(CURDIR)/_tmp/usr/bin:$(PATH) OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p dune-configurator
|
| 31 | 32 | PATH=$(CURDIR)/_tmp/usr/bin:$(PATH) OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR) dune-configurator
|
| 33 | +endif
|
|
| 32 | 34 | |
| 33 | 35 | override_dh_auto_install:
|
| 34 | 36 | rm -rf debian/tmp
|