[Pkg-ocaml-maint-commits] [ocaml-csv] 07/10: Update packaging

Stéphane Glondu glondu at moszumanska.debian.org
Tue Jan 26 14:31:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository ocaml-csv.

commit 9381146f67a18ca11aee16b5f66da67370282a3b
Author: Stephane Glondu <steph at glondu.net>
Date:   Tue Jan 26 15:10:58 2016 +0100

    Update packaging
---
 debian/control | 1 +
 debian/rules   | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index c968920..4bd08b9 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Build-Depends:
  ocaml-nox (>= 3.11.1-3~),
  ocaml-findlib (>= 1.2.5),
  xsltproc,
+ oasis,
  docbook-xsl
 Standards-Version: 3.9.5
 Section: ocaml
diff --git a/debian/rules b/debian/rules
index 91c2079..eb21a53 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,7 @@ debian/csvtool.1: debian/csvtool.dbk
 
 .PHONY: override_dh_auto_configure
 override_dh_auto_configure:
+	$(MAKE) setup.ml
 	ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --docdir /usr/share/doc/libcsv-ocaml-dev
 
 .PHONY: override_dh_auto_build
@@ -34,7 +35,7 @@ override_dh_auto_install:
 
 .PHONY: override_dh_auto_clean
 override_dh_auto_clean:
-	ocaml setup.ml -distclean
+	if [ -f setup.ml ]; then ocaml setup.ml -distclean; fi
 
 .PHONY: override_dh_install
 override_dh_install:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-csv.git



More information about the Pkg-ocaml-maint-commits mailing list