From: Zooko O'Whielacronx Date: Fri, 21 Sep 2007 21:11:16 +0000 (-0700) Subject: setup: check for the pywin32 dep only on Windows X-Git-Tag: allmydata-tahoe-0.6.0~26 X-Git-Url: https://git.rkrishnan.org/pf/content/en/service?a=commitdiff_plain;h=7e1b67cf2eb6e1750bca74a270802f9fdc6239c6;p=tahoe-lafs%2Ftahoe-lafs.git setup: check for the pywin32 dep only on Windows --- diff --git a/Makefile b/Makefile index 8cf620ee..e780c10f 100644 --- a/Makefile +++ b/Makefile @@ -39,11 +39,13 @@ ifeq ($(PLAT),win32) SUPPORT = $(shell cygpath -w $(shell pwd))\support SUPPORTLIB := $(SUPPORT)\Lib\site-packages SRCPATH := $(shell cygpath -w $(shell pwd))\src + CHECK_PYWIN32_DEP := check-pywin32-dep else PYVER=$(shell $(PYTHON) misc/pyver.py) SUPPORT = $(shell pwd)/support SUPPORTLIB = $(SUPPORT)/lib/$(PYVER)/site-packages SRCPATH := $(shell pwd)/src + CHECK_PYWIN32_DEP := endif ifeq ($(PLAT),cygwin) @@ -103,7 +105,7 @@ endif # TESTING -.PHONY: check-deps check-twisted-dep check-pywin32-dep signal-error-deps, signal-error-twisted-dep, signal-error-pywin32-dep, test test-figleaf figleaf-output +.PHONY: check-deps check-twisted-dep $(CHECK_PYWIN32_DEP) signal-error-deps, signal-error-twisted-dep, signal-error-pywin32-dep, test test-figleaf figleaf-output signal-error-deps: @@ -123,7 +125,7 @@ signal-error-pywin32-dep: for help on installing dependencies." exit 1 -check-deps: check-twisted-dep check-pywin32-dep +check-deps: check-twisted-dep $(CHECK_PYWIN32_DEP) $(PP) \ $(PYTHON) -c 'import allmydata, zfec, foolscap, simplejson, nevow, OpenSSL' || $(MAKE) signal-error-deps