diff options
-rw-r--r-- | gtk-recordmydesktop/configure.ac | 4 | ||||
-rw-r--r-- | gtk-recordmydesktop/src/rmdConfig.py.in | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/gtk-recordmydesktop/configure.ac b/gtk-recordmydesktop/configure.ac index 6d76324..6882640 100644 --- a/gtk-recordmydesktop/configure.ac +++ b/gtk-recordmydesktop/configure.ac @@ -6,8 +6,8 @@ AM_INIT_AUTOMAKE(gtk-recordMyDesktop, 0.2.1-r1) AS_AC_EXPAND(LIBDIR, $libdir) AC_MSG_NOTICE(Storing library files in $LIBDIR) AC_SUBST(PYGTK_REQ, 2.4) - -AS_AC_EXPAND(DATADIR, $datadir) +AS_AC_EXPAND(PREFIX,$prefix) +AS_AC_EXPAND(DATADIR, "$datadir") AC_MSG_NOTICE(Storing data files in $DATADIR) AS_AC_EXPAND(SYSCONFDIR, $sysconfdir) diff --git a/gtk-recordmydesktop/src/rmdConfig.py.in b/gtk-recordmydesktop/src/rmdConfig.py.in index 6bb4491..b6a70e9 100644 --- a/gtk-recordmydesktop/src/rmdConfig.py.in +++ b/gtk-recordmydesktop/src/rmdConfig.py.in @@ -1,4 +1,5 @@ import os VERSION='@VERSION@' -locale_install_dir=os.path.join('@DATADIR@', 'locale') +PREFIX='@PREFIX@' +locale_install_dir=os.path.join('@DATADIR@'.replace("${prefix}",PREFIX), 'locale') |