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

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



Title: GitLab

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

Commits:

  • 6aac596c
    by Stephane Glondu at 2023-08-06T09:55:58+02:00
    Use ocaml_dune DH buildsystem
    

5 changed files:

Changes:

  • debian/changelog
    1
    +ocaml-bitstring (4.1.1-2) unstable; urgency=medium
    
    2
    +
    
    3
    +  * Use ocaml_dune DH buildsystem
    
    4
    +
    
    5
    + -- Stéphane Glondu <glondu@debian.org>  Sun, 06 Aug 2023 09:55:14 +0200
    
    6
    +
    
    1 7
     ocaml-bitstring (4.1.1-1) unstable; urgency=medium
    
    2 8
     
    
    3 9
       * Team upload.
    

  • debian/control
    ... ... @@ -11,7 +11,7 @@ Build-Depends:
    11 11
      ocaml-dune,
    
    12 12
      libppxlib-ocaml-dev (>= 0.18.0),
    
    13 13
      libounit-ocaml-dev,
    
    14
    - dh-ocaml,
    
    14
    + dh-ocaml (>= 1.2.2),
    
    15 15
      time
    
    16 16
     Standards-Version: 4.6.2
    
    17 17
     Rules-Requires-Root: no
    

  • debian/debian-dune
    1
    +bitstring
    
    2
    +ppx_bitstring

  • debian/not-installed
    1
    +usr/doc/ppx_bitstring

  • debian/rules
    ... ... @@ -2,27 +2,6 @@
    2 2
     # -*- makefile -*-
    
    3 3
     
    
    4 4
     include /usr/share/ocaml/ocamlvars.mk
    
    5
    -DESTDIR := $(CURDIR)/debian/tmp
    
    6 5
     
    
    7 6
     %:
    
    8
    -	dh $@ --with ocaml
    
    9
    -
    
    10
    -override_dh_auto_clean:
    
    11
    -	dune clean
    
    12
    -
    
    13
    -override_dh_auto_build:
    
    14
    -	rm -rf _tmp
    
    15
    -	OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p bitstring
    
    16
    -	dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=$(OCAML_STDLIB_DIR) bitstring
    
    17
    -	OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune build -p ppx_bitstring
    
    18
    -	dune install --destdir=$(CURDIR)/_tmp --prefix=/usr --libdir=$(OCAML_STDLIB_DIR) ppx_bitstring
    
    19
    -
    
    20
    -override_dh_auto_test:
    
    21
    -	OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune runtest -p bitstring
    
    22
    -	OCAMLPATH=$(CURDIR)/_tmp$(OCAML_STDLIB_DIR) dune runtest -p ppx_bitstring
    
    23
    -
    
    24
    -override_dh_auto_install:
    
    25
    -	rm -rf debian/tmp
    
    26
    -	cp -a $(CURDIR)/_tmp debian/tmp
    
    27
    -	for u in ppx_bitstring; do rm -rf $(DESTDIR)/usr/doc/$$u; done
    
    28
    -	rm -f $(DESTDIR)/usr/doc/*/LICENSE*
    7
    +	dh $@ --with ocaml --buildsystem ocaml_dune


  • Reply to: