[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.5.0-17-gfce4e39
Sylvain Le Gall
gildor at debian.org
Tue Jul 21 14:42:45 UTC 2009
The following commit has been merged in the master branch:
commit 30657a18f50df28c3e27fac4513475ed5e242973
Author: Sylvain Le Gall <gildor at debian.org>
Date: Mon Jul 20 18:06:35 2009 +0200
Update POD of ocaml-md5sums.
diff --git a/ocaml-md5sums/ocaml-md5sums b/ocaml-md5sums/ocaml-md5sums
index 3286ea4..c2fcfeb 100755
--- a/ocaml-md5sums/ocaml-md5sums
+++ b/ocaml-md5sums/ocaml-md5sums
@@ -430,7 +430,7 @@ if ($print_version)
die "No action\n" unless defined($action);
-if ($action eq "compute" || $action eq "dep" || $action eq "check")
+if ($action eq "compute" || $action eq "dep")
{
my $md5sums =
OCamlMD5Sums::File->new
@@ -447,9 +447,10 @@ if ($action eq "compute" || $action eq "dep" || $action eq "check")
die "No dev. package defined" unless defined($md5sums->{dev});
+ $md5sums->write_dump($dump_info_fn) if defined($dump_info_fn);
+
if ($action eq "compute")
{
- $md5sums->write_dump($dump_info_fn) if defined($dump_info_fn);
$md5sums->print();
}
else # dep
@@ -467,10 +468,7 @@ if ($action eq "compute" || $action eq "dep" || $action eq "check")
$md5sums->print_depends ();
}
- if (defined($dump_provides))
- {
- $md5sums->dump_provides($dump_provides);
- };
+ $md5sums->dump_provides($dump_provides) if (defined($dump_provides));
}
elsif ($action eq "update")
{
@@ -489,9 +487,12 @@ ocaml-md5sum - Use and maintain ocaml md5sums registry files
=head1 SYNOPSIS
-ocaml-md5sum (compute|dep) --package <name> [option ...] file ...
+ocaml-md5sum (compute|dep) [option ...] file ...
ocaml-md5sum update [option ...]
+B<compute> dump the content of the the md5sums files to output. B<dep> compute
+dependencies of the package, using md5sums files that can be found.
+
=head1 OPTIONS
=over 8
@@ -524,6 +525,18 @@ Increase verbosity.
Print ocaml-md5sum version and exit.
+=item B<--nodefined> unit
+
+Avoid export of OCaml unit into md5sums file.
+
+=item B<--dump-provides> fn
+
+Write provides for the package into given file.
+
+=item B<--md5sums-dir> dir
+
+Add directory to the list of directory looked for md5sums files.
+
=item B<-help>
Print a brief help message and exits.
--
dh-ocaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list