From: Brian Warner <warner@lothar.com>
Date: Wed, 17 Sep 2008 05:36:43 +0000 (-0700)
Subject: Makefile: pyutil from a dependent lib causes a #455-ish problem, the workaround is... 
X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/flags/FOOURL?a=commitdiff_plain;h=880df93c8bbfe5df2a66965aa337f6b36e475e72;p=tahoe-lafs%2Ftahoe-lafs.git

Makefile: pyutil from a dependent lib causes a #455-ish problem, the workaround is to run build-once *three* times
---

diff --git a/Makefile b/Makefile
index 6808d614..e3eab620 100644
--- a/Makefile
+++ b/Makefile
@@ -58,11 +58,11 @@ src/allmydata/_version.py:
 # setuptools which properly sandboxes sys.modules (or a new version of nevow
 # which doesn't import twisted during its build, or a new version of twisted
 # which doesn't import itself during its build), we just build tahoe twice
-# and ignore the errors from the first pass.
+# and ignore the errors from the first pass. Updated 16-Sep-2008: now we need
+# three invocations.
 
 build: src/allmydata/_version.py
-	-$(MAKE) build-once
-	$(MAKE) build-once
+	$(MAKE) build-once || $(MAKE) build-once || $(MAKE) build-once
 
 # setuptools has a bug (Issue17, see tahoe #229 for details) that causes it
 # to mishandle dependencies that are installed in non-site-directories,