[Pkg-ocaml-maint-commits] [SCM] OCaml packaging branch, master, updated. debian/3.11.0-3-3-g16c60e1

Stephane Glondu steph at glondu.net
Thu Feb 19 16:29:41 UTC 2009


The following commit has been merged in the master branch:
commit aab99ea044c92b3391237aa3e9fda6c4580d2dc3
Author: Stephane Glondu <steph at glondu.net>
Date:   Thu Feb 19 16:52:11 2009 +0100

    On failure of dh_install, dump the contents of debian/tmp

diff --git a/debian/rules b/debian/rules
index f4d4038..d715f98 100755
--- a/debian/rules
+++ b/debian/rules
@@ -150,7 +150,11 @@ install-stamp:
 # To avoid erroneous dh_install warnings
 	rm -f $(INSTDIR)/share/man/man1/ocamlopt.opt.1 $(INSTDIR)/share/man/man1/ocamlc.opt.1
 # Dispatch files with dh_install
-	dh_install --list-missing
+	if ! dh_install --list-missing; then \
+	  @echo "===> dh_install has failed with exit code $?... <==="; \
+	  find debian/tmp; \
+	  exit 1; \
+	fi
 # Install additional files not handled by dh_install
 # Beware: dh_install does not handle renamings, please pay attention
 	cp otherlibs/labltk/README debian/ocaml/usr/share/doc/ocaml/README.labltk

-- 
OCaml packaging



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