diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-04-15 11:04:38 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-04-15 11:04:38 (GMT) |
commit | 5a4bf4be6b0e8549f2542568ce4bce197bee57d9 (patch) | |
tree | c31a72695bfbb8daba516fef2d78d37c45376ea6 | |
parent | d49b0ed6fb6f083d62d205c651aced3c0cf50095 (diff) |
Some paths tweaks, refactorings to make sugar self contained as much as possible
-rw-r--r-- | bin/Makefile.am | 4 | ||||
-rw-r--r-- | sugar/env.py | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bin/Makefile.am b/bin/Makefile.am index db5e219..ffbc7bb 100644 --- a/bin/Makefile.am +++ b/bin/Makefile.am @@ -1,3 +1,6 @@ +sugardir = $(pkgdatadir)/bin +sugar_SCRIPTS = sugar-activity-factory + bin_SCRIPTS = \ sugar \ sugar-activity \ @@ -6,6 +9,7 @@ bin_SCRIPTS = \ EXTRA_DIST = \ $(bin_SCRIPTS) \ + $(sugar_SCRIPTS) \ sugar.in DISTCLEANFILES = \ diff --git a/sugar/env.py b/sugar/env.py index f25f460..a8d8ef0 100644 --- a/sugar/env.py +++ b/sugar/env.py @@ -57,7 +57,7 @@ def get_user_activities_path(): return os.path.expanduser('~/Activities') def get_bin_path(path=None): - return _get_prefix_path('bin', path) + return _get_prefix_path('share/sugar/bin', path) def get_locale_path(path=None): return _get_prefix_path('share/locale', path) |