From 7131d80c7faea5357136560c27a4cca36644e2a3 Mon Sep 17 00:00:00 2001 From: iovar Date: Sat, 7 Oct 2006 22:58:57 +0000 Subject: prefix non-expansion fix in git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@92 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- gtk-recordmydesktop/configure.ac | 4 ++-- gtk-recordmydesktop/src/rmdConfig.py.in | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'gtk-recordmydesktop') 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') -- cgit v1.2.3