[Pkg-ocaml-maint-commits] [SCM] findlib packaging branch, master, updated. debian/1.2.5+debian-1-15-g8b51437

Stephane Glondu steph at glondu.net
Sat Feb 12 11:09:30 UTC 2011


The following commit has been merged in the master branch:
commit 3bf43895fb11b788dde1d430fd833a2f9a325496
Author: Stephane Glondu <steph at glondu.net>
Date:   Sat Feb 12 11:16:31 2011 +0100

    Work around bug #613023

diff --git a/debian/rules b/debian/rules
index d8f0594..a30d5ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,15 @@ include /usr/share/ocaml/ocamlvars.mk
 %:
 	dh $@ --with ocaml
 
+# Work around a strange bug on some fs where dpkg-source doesn't
+# update modification time of patched files, triggering an infinite
+# loop calling ocamldep in make (see bug #613023).
+.PHONY: quilt-bug-workaround
+quilt-bug-workaround:
+	touch src/findlib/findlib.ml src/findlib/findlib_config.mlp
+
 .PHONY: override_dh_auto_configure
-override_dh_auto_configure:
+override_dh_auto_configure: quilt-bug-workaround
 	./configure \
 		-config /etc/ocamlfind.conf \
 		-bindir /usr/bin \
@@ -50,7 +57,7 @@ override_dh_strip:
 endif
 
 .PHONY: override_dh_auto_clean
-override_dh_auto_clean:
+override_dh_auto_clean: quilt-bug-workaround
 	if [ -f Makefile.config ]; then $(MAKE) clean; fi
 	ln -sf doc/README README
 	-find . -name META -delete

-- 
findlib packaging



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