The following commit has been merged in the master branch:
commit 2ee13200fe8a35d71578f454d211918ed480cf89
Author: Hendrik Tews <hend...@askra.de>
Date:   Fri Jun 7 15:39:59 2013 +0200

    proper test for OASISData.mli

diff --git a/debian/changelog b/debian/changelog
index 057f7b3..2c1cde2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,9 @@ oasis (0.3.0-2) UNRELEASED; urgency=low
   * move cmi and ml* files from dir /usr/lib/ocaml/oasis into the runtime
     package lioasis-ocaml (Closes: #711451)
   * enable tests (add patch fixperms-debian-rules to fix premature errors)
+  * cp OASISData.mli with proper test
 
- -- Hendrik Tews <hend...@askra.de>  Fri, 07 Jun 2013 14:17:03 +0200
+ -- Hendrik Tews <hend...@askra.de>  Fri, 07 Jun 2013 15:39:41 +0200
 
 oasis (0.3.0-1) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 873b0ca..410a106 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,8 +24,10 @@ override_dh_auto_configure:
 .PHONY: override_dh_auto_build
 override_dh_auto_build:
        ocaml setup.ml -build
-       ocamlbuild src/oasis/OASISData.inferred.mli
-       cp -i _build/src/oasis/OASISData.inferred.mli src/oasis/OASISData.mli
+       if [ ! -f src/oasis/OASISData.mli ] ; then \
+               ocamlbuild src/oasis/OASISData.inferred.mli; \
+               cp -i _build/src/oasis/OASISData.inferred.mli 
src/oasis/OASISData.mli; \
+       fi
        ocaml setup.ml -doc
 
 .PHONY: override_dh_auto_test

-- 
oasis packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to