[Pkg-ocaml-maint-commits] [SCM] OCaml packaging branch, master, updated. debian/3.11.0-1-22-g7aeac34

Stephane Glondu steph at glondu.net
Tue Feb 17 10:34:21 UTC 2009


The following commit has been merged in the master branch:
commit 908496b876f5711224087fb499d821d9220eea91
Author: Stephane Glondu <steph at glondu.net>
Date:   Tue Feb 17 07:30:30 2009 +0100

    Use --list-missing instead of --fail-missing
    
    Rationale: on native architectures, all files installed by upstream
    are installed by some binary package, but this might not be the case
    on bytecode-only architectures.

diff --git a/debian/rules b/debian/rules
index 2b1e481..2c0c70a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -166,10 +166,10 @@ install-stamp:
 # Install OCaml
 	sed -e 's|PREFIX=\"/.*\"|PREFIX=\"$(INSTDIR)"|' < config/config.sh > config/config.debian.install.sh
 	$(MAKE) install PREFIX=$(INSTDIR)
-# To avoid erroneous dh_install failure
+# 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 (--fail-missing forces to handle everything...)
-	dh_install --fail-missing
+# Dispatch files with dh_install
+	dh_install --list-missing
 # 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