]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
setup: check for the pywin32 dep only on Windows
authorZooko O'Whielacronx <zooko@zooko.com>
Fri, 21 Sep 2007 21:11:16 +0000 (14:11 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Fri, 21 Sep 2007 21:11:16 +0000 (14:11 -0700)
Makefile

index 8cf620eeacb2c7a9733ab7b44091c0d2d1116fb0..e780c10fe22196f7a6630a4267a2fb10e677b7a5 100644 (file)
--- 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