From b7f161162b1c86b72a76c52ec2a196c02ccbc88c Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sat, 15 Sep 2012 17:39:15 +0200 Subject: [PATCH] Fix config.py @DATADIRNAME@ = lib all of a sudden?! Now we use the proper @datarootdir@ setting. --- player/config.py.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/player/config.py.in b/player/config.py.in index 6e534ff..260ac8d 100644 --- a/player/config.py.in +++ b/player/config.py.in @@ -1,7 +1,8 @@ PACKAGE_VERSION = '''@PACKAGE_VERSION@''' GETTEXT_PACKAGE = '''@GETTEXT_PACKAGE@''' -PACKAGE_DATA_DIR = '''@prefix@/@DATADIRNAME@/@PACKAGE@''' +datarootdir = '''@datarootdir@'''.replace('${prefix}', '''@prefix@''') +PACKAGE_DATA_DIR = datarootdir + '''/@PACKAGE@''' PACKAGE_SRC_DIR = '''@srcdir@''' -PACKAGE_LOCALE_DIR = '''@prefix@/@DATADIRNAME@/locale''' +PACKAGE_LOCALE_DIR = datarootdir + '/locale' ENABLE_NLS = ('''@USE_NLS@''' == 'yes') DEBUG = ('-DDEBUG' in '''@CPPFLAGS@''') -- 2.30.2