From: Philip Chimento Date: Sat, 15 Sep 2012 15:39:15 +0000 (+0200) Subject: Fix config.py X-Git-Tag: v0.9~13^2~1 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=b7f161162b1c86b72a76c52ec2a196c02ccbc88c;p=projects%2Fchimara%2Fchimara.git Fix config.py @DATADIRNAME@ = lib all of a sudden?! Now we use the proper @datarootdir@ setting. --- 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@''')