From 13db1dcf1ea52d1f5af9b6266b987d874cdcc8e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Thu, 23 Apr 2015 15:29:16 +0200 Subject: [PATCH] Makefile: autodetected python installation path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1702c08..6cf367e 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ TMPFILESDIR = $(shell rpm --eval '%{_tmpfilesdir}' 2>/dev/null || echo /usr/lib/ VERSIONED_NAME = $(NAME)-$(VERSION) DOCDIR = /usr/share/doc/$(NAME) -PYTHON_SITELIB = /usr/lib/python2.7/site-packages +PYTHON_SITELIB = $(shell python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib();' || echo /usr/lib/python2.7/site-packages) TUNED_PROFILESDIR = /usr/lib/tuned BASH_COMPLETIONS = /usr/share/bash-completion/completions