commit ac3d8b40d17d2d48c370fd7cf6955acbb89de97d
Author: David Fifield <[email protected]>
Date:   Sat Nov 24 00:56:54 2012 -0800

    Define makefile variables for PyInstaller.
---
 Makefile |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 337602d..7e56448 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,9 @@ PREFIX = /usr/local
 BINDIR = $(PREFIX)/bin
 MANDIR = $(PREFIX)/share/man
 
+PYTHON = python
+PYINSTALLER_PY = ../pyinstaller-2.0/pyinstaller.py
+
 VERSION = 0.8
 
 CLIENT_BIN = flashproxy-client flashproxy-reg-email flashproxy-reg-http
@@ -54,7 +57,7 @@ exe: $(CLIENT_BIN)
        mkdir -p $(DISTDIR)
        for file in $(CLIENT_BIN); \
        do \
-           python $$(cygpath -aw $$(which pyinstaller.py)) --onedir $$file; \
+           $(PYTHON) $(PYINSTALLER_PY) --onedir $$file; \
            cp dist/$$file/* $(DISTDIR); \
            mv $(DISTDIR)/$$file.exe $(DISTDIR)/$$file; \
            rm -rf dist/$$file; \



_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to