[Pkg-ocaml-maint-commits] [SCM] ocaml-batteries packaging branch, master, updated. debian/0.20090405+beta1-5-12-g37f15cb

Stefano Zacchiroli zack at upsilon.cc
Sat Mar 6 14:13:27 UTC 2010


The following commit has been merged in the master branch:
commit 37f15cbd64609c281b0952f40eb6eae7443a8bc7
Author: Stefano Zacchiroli <zack at upsilon.cc>
Date:   Sat Mar 6 15:05:14 2010 +0100

    pass --verbose to omake invocations
    
    rationale: avoid silent compilation which can trigger buildd failures

diff --git a/debian/rules b/debian/rules
index 3db38a1..19bdf05 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@ include /usr/share/ocaml/ocamlvars.mk
 export DESTDIR = $(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR)
 export BATTERIES_DOCROOT = $(CURDIR)/debian/tmp/doc
 DOC_PKG = libbatteries-ocaml-doc
+OFLAGS = --verbose
 
 %:
 	dh --with quilt,ocaml $@
@@ -13,23 +14,23 @@ export BATTERIES_NATIVE = false
 endif
 
 override_dh_auto_build:
-	omake all
+	omake $(OFLAGS) all
 ifneq (,$(findstring $(DOC_PKG),$(shell dh_listpackages)))
-	omake doc
+	omake $(OFLAGS) doc
 endif
 
 override_dh_auto_test:
-	omake test
+	omake $(OFLAGS) test
 
 override_dh_auto_install:
 	mkdir -p $(DESTDIR) $(BATTERIES_DOCROOT)
-	omake install
+	omake $(OFLAGS) install
 ifneq (,$(findstring $(DOC_PKG),$(shell dh_listpackages)))
-	omake install-doc
+	omake $(OFLAGS) install-doc
 endif
 
 override_dh_auto_clean:
-	omake clean
+	omake $(OFLAGS) clean
 	rm -rf man/ .omakedb .omakedb.lock
 	-find . -name '*.omc' -exec rm {} \;
 

-- 
ocaml-batteries packaging



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