]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Makefile: touch .built on every build, so other targets can depend upon .built and...
authorBrian Warner <warner@lothar.com>
Wed, 30 Jan 2008 08:32:57 +0000 (01:32 -0700)
committerBrian Warner <warner@lothar.com>
Wed, 30 Jan 2008 08:32:57 +0000 (01:32 -0700)
Makefile

index dc7ccf0356983f484599baf3495edb850a1a9ee5..8600bbd0933cb6179f36a80123d6d8ad4ba8bc48 100644 (file)
--- 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)