[Sugar-devel] [PATCH] Add a run target to the makefile
Marco Pesenti Gritti
marco at marcopg.org
Wed Dec 7 13:12:13 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..97992be 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=$(libdir)/gtk-2.0 \
+ GTK_DATA_PREFIX=$(prefix) \
+ GI_TYPELIB_PATH=$(libdir)/girepository-1.0 \
+ sugar-emulator
--
1.7.7.3
More information about the Sugar-devel
mailing list