diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-23 12:25:22 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-04-23 12:25:22 +0000 |
commit | f850ca1ba26e931bf4287eb95cb46a014fe33ccd (patch) | |
tree | 4b1ed3ae4267de12c6dc5a87b0ba4e66fc1c83fc /SConstruct | |
parent | f0def9bb888f5698796447b893b52ed0544c12e3 (diff) |
ardour_system.rc now has the same content as ardour.rc, to allow us to more easily add new variable/parameters when updating a user's configuration
git-svn-id: svn://localhost/ardour2/trunk@1739 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 9f7e915b3d..da2c6111cc 100644 --- a/SConstruct +++ b/SConstruct @@ -1076,7 +1076,13 @@ if not conf.CheckFunc('posix_memalign'): env = conf.Finish() +# generate the per-user and system rc files from the same source + rcbuild = env.SubstInFile ('ardour.rc','ardour.rc.in', SUBST_DICT = subst_dict) +sysrcbuild = env.SubstInFile ('ardour_system.rc','ardour.rc.in', SUBST_DICT = subst_dict) + +# add to the substitution dictionary + subst_dict['%VERSION%'] = ardour_version[0:3] subst_dict['%EXTRA_VERSION%'] = ardour_version[3:] subst_dict['%REVISION_STRING%'] = '' @@ -1092,6 +1098,7 @@ env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour2'), 'ardour env.Alias('install', env.Install(os.path.join(config_prefix, 'ardour2'), 'ardour.rc')) Default (rcbuild) +Default (sysrcbuild) # source tarball |