On Wed, Dec 7, 2011 at 1:08 PM, Marco Pesenti Gritti <ma...@marcopg.org> wrote: > This allows to run sugar from outside the system path for > development purpouses. > > Signed-off-by: Marco Pesenti Gritti <ma...@marcopg.org> > --- > Makefile.am | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > > diff --git a/Makefile.am b/Makefile.am > index 9e252af..79511e8 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -12,3 +12,12 @@ EXTRA_DIST = \ > intltool-extract.in > > DISTCHECK_CONFIGURE_FLAGS = --disable-update-mimedb > + > +run: > + PATH=$(prefix)/bin:$(PATH) \ > + PYTHONPATH=$(pythondir) \ > + XDG_DATA_DIRS=$(datadir) \ > + GTK_PATH=$(prefix)/lib/gtk-2.0 \ > + GTK_DATA_PREFIX=$(prefix) \ > + GI_TYPELIB_PATH=$(prefix)/lib/girepository-1.0 \ > + sugar-emulator > -- > 1.7.7.3 > > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel
This could be useful for our end users as well, if they want to experiment with making changes to the installed Sugar. The piece I still struggle with is a simple way to let them switch back to the system version when things go wrong. Any suggestions? -walter -- Walter Bender Sugar Labs http://www.sugarlabs.org _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel