[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ocaml-team/ppx-optcomp][master] Use ocaml_dune DH buildsystem



Title: GitLab

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

Commits:

  • fb125eac
    by Stephane Glondu at 2023-08-06T07:52:14+02:00
    Use ocaml_dune DH buildsystem
    

4 changed files:

Changes:

  • debian/changelog
    1
    +ppx-optcomp (1:0.16.0-3) unstable; urgency=medium
    
    2
    +
    
    3
    +  * Use ocaml_dune DH buildsystem
    
    4
    +
    
    5
    + -- Stéphane Glondu <glondu@debian.org>  Sun, 06 Aug 2023 07:52:10 +0200
    
    6
    +
    
    1 7
     ppx-optcomp (1:0.16.0-2) unstable; urgency=medium
    
    2 8
     
    
    3 9
       * Fix compilation with a recent dune.
    

  • debian/control
    ... ... @@ -11,7 +11,7 @@ Build-Depends:
    11 11
      libbase-ocaml-dev (>= 0.14),
    
    12 12
      libstdio-ocaml-dev (>= 0.14),
    
    13 13
      libppxlib-ocaml-dev (>= 0.23.0),
    
    14
    - dh-ocaml
    
    14
    + dh-ocaml (>= 1.2)
    
    15 15
     Standards-Version: 4.6.2
    
    16 16
     Rules-Requires-Root: no
    
    17 17
     Vcs-Browser: https://salsa.debian.org/ocaml-team/ppx-optcomp
    

  • debian/debian-dune
    1
    +ppx_optcomp

  • debian/rules
    1 1
     #!/usr/bin/make -f
    
    2
    +# -*- makefile -*-
    
    2 3
     
    
    3
    -DESTDIR = $(CURDIR)/debian/tmp
    
    4 4
     include /usr/share/ocaml/ocamlvars.mk
    
    5 5
     
    
    6 6
     %:
    
    7
    -	dh $@ --with ocaml
    
    8
    -
    
    9
    -override_dh_auto_build:
    
    10
    -	dune build -p ppx_optcomp
    
    11
    -
    
    12
    -override_dh_auto_test:
    
    13
    -ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
    
    14
    -	dune runtest -p ppx_optcomp
    
    15
    -endif
    
    16
    -
    
    17
    -override_dh_auto_install:
    
    18
    -	dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=$(OCAML_STDLIB_DIR)
    
    19
    -	rm -f $(DESTDIR)/usr/doc/ppx_optcomp/LICENSE.md
    
    20
    -
    
    21
    -override_dh_dwz:
    7
    +	dh $@ --with ocaml --buildsystem ocaml_dune


  • Reply to: