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

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



Title: GitLab

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

Commits:

  • baa976a1
    by Stephane Glondu at 2023-07-15T14:45:09+02:00
    Use ocaml_dune DH buildsystem
    

4 changed files:

Changes:

  • debian/changelog
    1
    +ocaml-fileutils (0.6.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 14:45:05 +0200
    
    7
    +
    
    1 8
     ocaml-fileutils (0.6.4-1) unstable; urgency=medium
    
    2 9
     
    
    3 10
       [ Stéphane Glondu ]
    

  • debian/control
    ... ... @@ -7,7 +7,7 @@ Build-Depends:
    7 7
      ocaml-nox,
    
    8 8
      ocaml-dune,
    
    9 9
      libounit-ocaml-dev,
    
    10
    - dh-ocaml
    
    10
    + dh-ocaml (>= 1.2)
    
    11 11
     Standards-Version: 4.6.1
    
    12 12
     Rules-Requires-Root: no
    
    13 13
     Homepage: https://github.com/gildor478/ocaml-fileutils
    

  • debian/debian-dune
    1
    +fileutils

  • debian/rules
    1 1
     #!/usr/bin/make -f
    
    2
    -# debian/rules for ocaml-fileutils package
    
    3
    -
    
    4
    -# Uncomment this to turn on verbose mode.
    
    5
    -#export DH_VERBOSE=1
    
    6
    -#export DH_OPTIONS=-v
    
    7
    -
    
    8
    -DESTDIR=$(CURDIR)/debian/tmp
    
    9
    -
    
    10
    -include /usr/share/ocaml/ocamlvars.mk
    
    2
    +# -*- makefile -*-
    
    11 3
     
    
    12 4
     %:
    
    13
    -	dh $@ --with ocaml
    
    14
    -
    
    15
    -override_dh_auto_build:
    
    16
    -	dune build -p fileutils
    
    17
    -
    
    18
    -override_dh_auto_test:
    
    19
    -	dune runtest -p fileutils
    
    20
    -
    
    21
    -override_dh_auto_install:
    
    22
    -	dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR)
    
    23
    -	rm -f $(DESTDIR)/usr/doc/fileutils/LICENSE.txt
    5
    +	dh $@ --with ocaml --buildsystem ocaml_dune


  • Reply to: