Changeset 6280

Show
Ignore:
Timestamp:
05/05/06 08:29:31 (3 years ago)
Author:
asterix
Message:

use correct python version to build debian package

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile

    r5607 r6280  
    11# Set the C flags to include the GTK+ and Python libraries 
    2 PYTHONVER = `python -c 'import sys; print sys.version[:3]'` 
     2PYTHON = python 
     3PYTHONVER = `$(PYTHON) -c 'import sys; print sys.version[:3]'` 
    34CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -fPIC -I/usr/include/python$(PYTHONVER) -I. 
    45LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0` -lpython$(PYTHONVER)