[Pkg-ocaml-maint-commits] [ocaml-doc] 01/06: Minor fixes in debian/generate_tarball

Mehdi Dogguy mehdi at moszumanska.debian.org
Sun Nov 24 16:34:35 UTC 2013


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

mehdi pushed a commit to branch master
in repository ocaml-doc.

commit 97638648fbfbacf1eb6a5f4a364048589edf3393
Author: Mehdi Dogguy <mehdi at debian.org>
Date:   Sun Nov 24 17:31:49 2013 +0100

    Minor fixes in debian/generate_tarball
---
 debian/changelog        | 10 +++++++++-
 debian/generate_tarball |  6 +++---
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9e2f864..f7ce75f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+ocaml-doc (4.01-1) UNRELEASED; urgency=low
+
+  * Minor fixes in debian/generate_tarball:
+    + Upstream now provides "ocaml-${ver}-refman-html.tar.gz" instead of
+      "ocaml-${ver}-refman.html.tar.gz".
+    + Cosmetic fix: don't use 3.12 in temporary directory names.
+
+ -- Mehdi Dogguy <mehdi at debian.org>  Sun, 24 Nov 2013 17:29:59 +0100
+
 ocaml-doc (3.12-2) unstable; urgency=low
 
   * Replace "3.11" with "@VERSION@" in debian/ocaml-doc.doc-base.ocaml.in
@@ -241,4 +250,3 @@ ocaml-doc (2.02-1) unstable; urgency=low
   * Initial Release.
 
  -- Sven Luther <luther at debian.org>  Sat,  9 Oct 1999 13:24:05 +0200
-
diff --git a/debian/generate_tarball b/debian/generate_tarball
index 76aef97..5ea3b6f 100755
--- a/debian/generate_tarball
+++ b/debian/generate_tarball
@@ -8,9 +8,9 @@
 set -e
 
 ver="$1"
-dir=`mktemp -d "ocaml-doc-3.12-XXXXXXXXX"`
+dir=`mktemp -d "ocaml-doc-XXXXXXXXX"`
 finaldir="ocaml-doc-$ver"
-tmp=`mktemp -d "ocaml-doc-3.12-tmp-XXXXXXXXX"`
+tmp=`mktemp -d "ocaml-doc-tmp-XXXXXXXXX"`
 url="http://caml.inria.fr/pub/distrib/ocaml-${ver}"
 dl="curl -#"
 
@@ -34,7 +34,7 @@ test -z $ver && usage
 # Downloading documentation
 msg "Downloading documentation in $dir ($tmp)"
 $dl "$url/ocaml-${ver}-refman.info.tar.gz" -o $dir/info.tar.gz
-$dl "$url/ocaml-${ver}-refman.html.tar.gz" -o $dir/html.tar.gz
+$dl "$url/ocaml-${ver}-refman-html.tar.gz" -o $dir/html.tar.gz
 $dl "$url/ocaml-${ver}-refman.pdf" -P $dir -o $dir/refman.pdf
 $dl "$url/ocaml-${ver}-refman.txt" -P $dir -o $dir/refman.txt
 $dl "http://nicolaspouillard.fr/ocamlbuild/ocamlbuild-user-guide.pdf" -o $dir/ocamlbuild-user-guide.pdf

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



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