From: Zooko O'Whielacronx Date: Sat, 22 Dec 2007 17:46:31 +0000 (-0700) Subject: setup: small tidy-up of Make rules X-Git-Tag: allmydata-tahoe-0.7.0~92 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/flags/reliability?a=commitdiff_plain;h=4a11c320f77ccb5bdd6292bca740d60467760fbb;p=tahoe-lafs%2Ftahoe-lafs.git setup: small tidy-up of Make rules --- diff --git a/Makefile b/Makefile index 69b2ec25..99531576 100644 --- 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