Some paths tweaks, refactorings to make sugar self contained as much as possible

This commit is contained in:
Marco Pesenti Gritti 2007-04-15 13:04:38 +02:00
parent d49b0ed6fb
commit 5a4bf4be6b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,6 @@
sugardir = $(pkgdatadir)/bin
sugar_SCRIPTS = sugar-activity-factory
bin_SCRIPTS = \ bin_SCRIPTS = \
sugar \ sugar \
sugar-activity \ sugar-activity \
@ -6,6 +9,7 @@ bin_SCRIPTS = \
EXTRA_DIST = \ EXTRA_DIST = \
$(bin_SCRIPTS) \ $(bin_SCRIPTS) \
$(sugar_SCRIPTS) \
sugar.in sugar.in
DISTCLEANFILES = \ DISTCLEANFILES = \

View File

@ -57,7 +57,7 @@ def get_user_activities_path():
return os.path.expanduser('~/Activities') return os.path.expanduser('~/Activities')
def get_bin_path(path=None): 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): def get_locale_path(path=None):
return _get_prefix_path('share/locale', path) return _get_prefix_path('share/locale', path)