aboutsummaryrefslogblamecommitdiffstats
path: root/config.mk
blob: 08768f88bbcb3cf8190a5246b5944fc9d2d1630e (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                            
PREFIX       = /usr
PYTHONDIR    = $(PREFIX)/lib/python$(PYTHON_VERSION)
PYTHONPKGDIR = $(PYTHONDIR)/site-packages

PYTHON_MAJOR   = $$(python --version 2>&1 | cut -d . -f 1 | cut -d ' ' -f 2)
PYTHON_MINOR   = $$(python$(PYTHON_MAJOR) --version 2>&1 | cut -d . -f 2)
PYTHON_VERSION = $(PYTHON_MAJOR).$(PYTHON_MINOR)

PYTHON = python$(PYTHON_VERSION)