[Python-checkins] r67379 - sandbox/trunk/tkinter-polo/Makefile
guilherme.polo
python-checkins at python.org
Tue Nov 25 16:32:34 CET 2008
Author: guilherme.polo
Date: Tue Nov 25 16:32:33 2008
New Revision: 67379
Log:
Making more clear what one should change, also removed TCLTK_VER variable so this may end up making more sense in custom builds
Modified:
sandbox/trunk/tkinter-polo/Makefile
Modified: sandbox/trunk/tkinter-polo/Makefile
==============================================================================
--- sandbox/trunk/tkinter-polo/Makefile (original)
+++ sandbox/trunk/tkinter-polo/Makefile Tue Nov 25 16:32:33 2008
@@ -1,15 +1,16 @@
PYTHON=python
INSTALL_DIR=tkinter
-TCLTK_VER=8.5
+
+# You are likely to change the following four variables
TCL_BASE_DIR=/usr/share/tcltk
TK_BASE_DIR=$(TCL_BASE_DIR)
-TCL_CONFIG_DIR=$(TCL_BASE_DIR)/tcl$(TCLTK_VER)
-TK_CONFIG_DIR=$(TK_BASE_DIR)/tk$(TCLTK_VER)
+TCL_CONFIG_DIR=$(TCL_BASE_DIR)/tcl8.5
+TK_CONFIG_DIR=$(TK_BASE_DIR)/tk8.5
TCL_CONFIG=$(TCL_CONFIG_DIR)/tclConfig.sh
TK_CONFIG=$(TK_CONFIG_DIR)/tkConfig.sh
-build:
+build: src/_tkinter.c
TCL_CONFIG=$(TCL_CONFIG) TK_CONFIG=$(TK_CONFIG) \
$(PYTHON) setup.py install_lib --install-dir $(INSTALL_DIR)
More information about the Python-checkins
mailing list