summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-08-02 00:39:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-08-02 00:39:32 +0900
commit7aa39b59b0530943912853ef546f47d6c41e0459 (patch)
treedddca12b91135199101aef65302a9ee3826f412f
parent76a7ec0e3f02bc05372990e46e00a1a2c0bf31f9 (diff)
downloadfusion-icon-7aa39b59b0530943912853ef546f47d6c41e0459.tar.gz
fusion-icon-7aa39b59b0530943912853ef546f47d6c41e0459.zip
Fixed location of installed Python scripts. This relates to bug 1146.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f499069..f012a87 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,16 @@
PREFIX = '/usr'
DESTDIR = '/'
+PYTHON_SITELIB=$(shell python2 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
#interfaces = 'gtk qt4'
all:
@python setup.py build
install:
- @python setup.py install --prefix=${PREFIX} --root=${DESTDIR}
+ @python setup.py install --prefix=${PREFIX} --root=${DESTDIR} --install-lib=${PYTHON_SITELIB}
uninstall:
@python setup.py uninstall
clean:
rm -rf build/
-