From 8e1439d12d80be357ffd41c194c98ad63f1bb105 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@lothar.com>
Date: Wed, 30 Jan 2008 01:32:57 -0700
Subject: [PATCH] Makefile: touch .built on every build, so other targets can
 depend upon .built and avoid redundant rebuilds

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.45.2