Author: asterix Date: 2006-05-06 18:27:45 +0200 (Sat, 06 May 2006) New Revision: 6281
Modified: trunk/src/Makefile trunk/src/common/Makefile Log: build idle with corre3ct python version
Modified: trunk/src/Makefile =================================================================== --- trunk/src/Makefile 2006-05-05 06:29:31 UTC (rev 6280) +++ trunk/src/Makefile 2006-05-06 16:27:45 UTC (rev 6281) @@ -1,5 +1,5 @@ # Set the C flags to include the GTK+ and Python libraries -PYTHON = python +PYTHON ?= python PYTHONVER = `$(PYTHON) -c 'import sys; print sys.version[:3]'` CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fPIC -I/usr/include/python$(PYTHONVER) -I. LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0` -lpython$(PYTHONVER)
Modified: trunk/src/common/Makefile =================================================================== --- trunk/src/common/Makefile 2006-05-05 06:29:31 UTC (rev 6280) +++ trunk/src/common/Makefile 2006-05-06 16:27:45 UTC (rev 6281) @@ -1,5 +1,6 @@ # Set the C flags to include the GTK+ and Python libraries -PYTHONVER = `python -c 'import sys; print sys.version[:3]'` +PYTHON ?= python +PYTHONVER = `$(PYTHON) -c 'import sys; print sys.version[:3]'`
HAVE_XSCRNSAVER = $(shell pkg-config --exists xscrnsaver && echo 'YES')