diff options
author | Jeremy Katz <katzj@redhat.com> | 2006-12-07 19:57:27 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2006-12-07 19:57:27 +0000 |
commit | b5325b15af9abe366b60364b712c17e48fb86be5 (patch) | |
tree | 90470d0d194710af239ec33b62227dfe9244387f /Makefile.inc | |
parent | 35812f1af2a244cf2cb8b9c8694837257bd69b68 (diff) | |
download | anaconda-b5325b15af9abe366b60364b712c17e48fb86be5.tar.gz anaconda-b5325b15af9abe366b60364b712c17e48fb86be5.tar.xz anaconda-b5325b15af9abe366b60364b712c17e48fb86be5.zip |
2006-12-07 Jeremy Katz <katzj@redhat.com>
* scripts/upd-instroot (KEEPFILE): Add etree location for celement
tree in python 2.5, drop libxml2-python since it's not used any more
* Makefile.inc (PYTHON): Be more flexible about handling of python
version
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index 0675ed7d4..42982d894 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -4,7 +4,8 @@ PYTHONLIBDIR = /usr/lib/anaconda RUNTIMEDIR = /usr/lib/anaconda-runtime ANACONDADATADIR = /usr/share/anaconda -PYTHON = python2.4 +PYVER := $(shell python -c 'import sys; print sys.version[0:3]') +PYTHON = python$(PYVER) PYTHONINCLUDE = /usr/include/$(PYTHON) ARCH := $(patsubst i%86,i386,$(shell uname -m)) |