From 616b950869625bb5118961cd76b193963083e73e Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 11 Sep 2008 22:21:51 -0700 Subject: [PATCH] windows/Makefile: fix dependencies: windows-installer must cause windows-exe to run --- windows/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/windows/Makefile b/windows/Makefile index 600c0d7f..761199c6 100644 --- a/windows/Makefile +++ b/windows/Makefile @@ -3,12 +3,19 @@ # control it, since 'PYTHON=foo make windows-exe' doesn't seem to override # the default. +# We also get $(PYTHONPATH) from our parent, which is critical for py2exe to +# find the tahoe code. Invoking this Makefile directly won't work. + INNOSETUP := $(shell cygpath -au "$(PROGRAMFILES)/Inno Setup 5/Compil32.exe") -windows-exe: +.PHONY: windows-exe windows-installer windows-installer-upload + +windows-exe.stamp: $(PYTHON) setup.py py2exe + touch windows-exe.stamp +windows-exe: windows-exe.stamp -windows-installer: +windows-installer: windows-exe.stamp $(PYTHON) ../misc/sub-ver.py installer.tmpl >installer.iss "$(INNOSETUP)" /cc installer.iss -- 2.45.2