From aab99ea044c92b3391237aa3e9fda6c4580d2dc3 Mon Sep 17 00:00:00 2001 From: Stephane Glondu Date: Thu, 19 Feb 2009 16:52:11 +0100 Subject: [PATCH] On failure of dh_install, dump the contents of debian/tmp --- debian/rules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index f4d40388..d715f982 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 -- 2.30.2