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

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



Title: GitLab

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

Commits:

  • 5122a673
    by Stephane Glondu at 2023-07-15T16:30:30+02:00
    Use ocaml_dune DH buildsystem
    

4 changed files:

Changes:

  • debian/changelog
    1
    +ocaml-re (1.10.4-2) unstable; urgency=medium
    
    2
    +
    
    3
    +  * Team upload
    
    4
    +  * Use ocaml_dune DH buildsystem
    
    5
    +
    
    6
    + -- Stéphane Glondu <glondu@debian.org>  Sat, 15 Jul 2023 16:30:27 +0200
    
    7
    +
    
    1 8
     ocaml-re (1.10.4-1) unstable; urgency=medium
    
    2 9
     
    
    3 10
       [ Stéphane Glondu ]
    

  • debian/control
    ... ... @@ -11,7 +11,7 @@ Build-Depends:
    11 11
      ocaml-dune,
    
    12 12
      libseq-ocaml-dev,
    
    13 13
      libounit-ocaml-dev,
    
    14
    - dh-ocaml
    
    14
    + dh-ocaml (>= 1.2)
    
    15 15
     Standards-Version: 4.6.1
    
    16 16
     Rules-Requires-Root: no
    
    17 17
     Homepage: https://github.com/ocaml/ocaml-re
    

  • debian/debian-dune
    1
    +re

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


  • Reply to: