[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.5.0-44-g400dd0e

Stephane Glondu steph at glondu.net
Sun Jul 26 17:25:15 UTC 2009


The following commit has been merged in the master branch:
commit 400dd0e8f954eca76d7e4b8ce45818416a083771
Author: Stephane Glondu <steph at glondu.net>
Date:   Sun Jul 26 19:20:01 2009 +0200

    dh_ocamldoc: ignore *.in files in debian directory

diff --git a/debhelper/dh_ocamldoc b/debhelper/dh_ocamldoc
index 77115f0..c42b083 100755
--- a/debhelper/dh_ocamldoc
+++ b/debhelper/dh_ocamldoc
@@ -167,9 +167,9 @@ sub do_doc_package($@) {
 foreach my $pkg (@{$dh{DOPACKAGES}}) {
     my $tmp_dir = tmpdir($pkg);
     my @ocamldoc_files = split /\n/,
-    `find debian/ -type f -name "$pkg.ocamldoc*"`;
+    `find debian/ -type f -name "$pkg.ocamldoc*" -not -name "*.in"`;
     if ($pkg =~ $dh{MAINPACKAGE}) {
-      my @list = split /\n/, `find debian -maxdepth 1 -type f -name "ocamldoc*"`;
+      my @list = split /\n/, `find debian -maxdepth 1 -type f -name "ocamldoc*" -not -name "*.in"`;
       # Possible nameclash here but done on purpose since the packager
       # can always have several ocamldoc files but should choose a coherent
       # name convetion.

-- 
dh-ocaml packaging



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