From: Brian Warner <warner@lothar.com>
Date: Wed, 30 Jan 2008 08:32:57 +0000 (-0700)
Subject: Makefile: touch .built on every build, so other targets can depend upon .built and... 
X-Git-Url: https://git.rkrishnan.org/specifications/%5B/flags/frontends/cyclelanguage?a=commitdiff_plain;h=8e1439d12d80be357ffd41c194c98ad63f1bb105;p=tahoe-lafs%2Ftahoe-lafs.git

Makefile: touch .built on every build, so other targets can depend upon .built and avoid redundant rebuilds
---

diff --git a/Makefile b/Makefile
index dc7ccf03..8600bbd0 100644
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,6 @@ make-version:
 
 .built:
 	$(MAKE) build
-	touch .built
 
 src/allmydata/_version.py:
 	$(MAKE) make-version
@@ -104,6 +103,7 @@ build: src/allmydata/_version.py
 	PYTHONPATH="$(PYTHONPATH)$(PATHSEP)$(SUPPORTLIB)$(PATHSEP)" \
 		$(PYTHON) ./setup.py develop install --prefix="$(SUPPORT)"
 	chmod +x bin/tahoe
+	touch .built
 
 # 'make install' will do the following:
 #   build+install tahoe (probably to /usr/lib/pythonN.N/site-packages)