summaryrefslogtreecommitdiff
path: root/gtk-recordmydesktop
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-10-07 22:58:57 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-10-07 22:58:57 +0000
commit7131d80c7faea5357136560c27a4cca36644e2a3 (patch)
treead05aa429b85b1cc9c1237916e7dcd57afdd7c30 /gtk-recordmydesktop
parent5e94a4a1568e1a522c36dda3dea08cd97702ca77 (diff)
prefix non-expansion fix in
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@92 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'gtk-recordmydesktop')
-rw-r--r--gtk-recordmydesktop/configure.ac4
-rw-r--r--gtk-recordmydesktop/src/rmdConfig.py.in3
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')
© All Rights Reserved