]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: small tidy-up of Make rules
authorZooko O'Whielacronx <zooko@zooko.com>
Sat, 22 Dec 2007 17:46:31 +0000 (10:46 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Sat, 22 Dec 2007 17:46:31 +0000 (10:46 -0700)
Makefile

index 69b2ec25783c9f9c4ac68f88d7a8af562fa49dd1..9953157675d58dad92c922dd736374550452900b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -45,9 +45,7 @@ endif
 
 TRIAL=PYTHONUNBUFFERED=1 $(TRIALCMD) --rterrors $(REACTOROPT)
 
-# build-deps wants setuptools to have been built first. It's easiest to
-# accomplish this by depending upon the tahoe compile.
-build-deps: .built check-twisted-dep
+build-deps: check-manual-deps
        mkdir -p "$(SUPPORTLIB)"
        PYTHONPATH="$(PYTHONPATH)$(PATHSEP)$(SUPPORTLIB)$(PATHSEP)" \
          $(PYTHON) misc/dependencies/build-deps-setup.py install \
@@ -141,7 +139,7 @@ OpenSSL).  Please see the README for help on installing dependencies."
        @echo
        exit 1
 
-check-deps: check-twisted-dep $(CHECK_PYWIN32_DEP) check-pyopenssl-dep
+check-deps: check-manual-deps
        $(PP) \
         $(PYTHON) -c 'import allmydata, zfec, foolscap, simplejson, nevow, pycryptopp' || $(MAKE) signal-error-deps
 
@@ -154,6 +152,8 @@ check-pywin32-dep:
 check-pyopenssl-dep:
        $(PYTHON) -c 'import OpenSSL' || $(MAKE) signal-error-pyopenssl-dep
 
+check-manual-deps: check-twisted-dep $(CHECK_PYWIN32_DEP) check-pyopenssl-dep
+
 .checked-deps:
        $(MAKE) check-deps
        touch .checked-deps