diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-05-02 12:50:30 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-05-02 12:50:30 +0000 |
commit | dc2c099c04c7c6d066167e5dd7dd53fee439aca4 (patch) | |
tree | c8ab19b290e43a52b6b3ecf1c740e1e97dadbc16 /gtk-recordmydesktop | |
parent | e3abc3d93f6f62d36ede0d1b2b2e8ad62a7c3072 (diff) |
src/gtk-recordMyDesktop now generated from src/gtk-recordMyDesktop.in,during configuration, to fix issues with arbitary installation locations
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@330 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'gtk-recordmydesktop')
-rw-r--r-- | gtk-recordmydesktop/configure.ac | 3 | ||||
-rw-r--r-- | gtk-recordmydesktop/src/Makefile.am | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | gtk-recordmydesktop/src/gtk-recordMyDesktop.in (renamed from gtk-recordmydesktop/src/gtk-recordMyDesktop) | 7 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gtk-recordmydesktop/configure.ac b/gtk-recordmydesktop/configure.ac index a715c6b..74b9cec 100644 --- a/gtk-recordmydesktop/configure.ac +++ b/gtk-recordmydesktop/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.59) -AC_INIT(src/gtk-recordMyDesktop) +AC_INIT(src/rmdSimple.py) AM_INIT_AUTOMAKE(gtk-recordmydesktop, 0.3.5-cvs) @@ -74,6 +74,7 @@ export PYTHONPATH=$PYGST_DIR:$PYTHONPATH AC_CONFIG_FILES([Makefile src/Makefile src/rmdConfig.py + src/gtk-recordMyDesktop po/Makefile.in m4/Makefile]) AC_OUTPUT diff --git a/gtk-recordmydesktop/src/Makefile.am b/gtk-recordmydesktop/src/Makefile.am index 0cb4980..1ddf07a 100644 --- a/gtk-recordmydesktop/src/Makefile.am +++ b/gtk-recordmydesktop/src/Makefile.am @@ -23,7 +23,7 @@ desktop_DATA =gtk-recordmydesktop.desktop pixmapdir = $(datadir)/pixmaps pixmap_DATA = gtk-recordmydesktop.png -EXTRA_DIST=gtk-recordMyDesktop gtk-recordmydesktop.desktop gtk-recordmydesktop.png gtk-recordmydesktop.svg +EXTRA_DIST=gtk-recordMyDesktop.in gtk-recordmydesktop.desktop gtk-recordmydesktop.png gtk-recordmydesktop.svg clean-local: rm -rf *.pyc *.pyo diff --git a/gtk-recordmydesktop/src/gtk-recordMyDesktop b/gtk-recordmydesktop/src/gtk-recordMyDesktop.in index 6982e53..6d5b6ab 100755..100644 --- a/gtk-recordmydesktop/src/gtk-recordMyDesktop +++ b/gtk-recordmydesktop/src/gtk-recordMyDesktop.in @@ -27,6 +27,13 @@ #* For further information contact me at johnvarouhakis@gmail.com * #**********************************************************************************/ +import sys + +#this is the installation direcotry, +#which is determined during configuration +#default /usr/local/lib/python<version>/site-packages +PYTHONDIR='@PYTHONDIR@' +sys.path.append(PYTHONDIR) from recordMyDesktop import rmdSimple def main(): |