[Sugar-devel] [PATCH] Add a run target to the makefile
Marco Pesenti Gritti
marco at marcopg.org
Wed Dec 7 13:08:50 EST 2011
This allows to run sugar from outside the system path for
development purpouses.
Signed-off-by: Marco Pesenti Gritti <marco at 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
More information about the Sugar-devel
mailing list