clean up stupid confusion over ardour_system.rc and its contents. this file does not require substitution anymore, and besides, it was being subst'ed incorrectly because of changes to waf that were addressed in gtk2_ardour/wscript but not the top level wscript

git-svn-id: svn://localhost/ardour2/branches/3.0@13408 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2012-11-09 13:27:14 +00:00
parent 684121c951
commit aad35ec182
2 changed files with 6 additions and 27 deletions

23
wscript
View File

@@ -729,28 +729,7 @@ def build(bld):
for i in children:
bld.recurse(i)
# ideally, we'd like to use the OS-provided MIDI API
# for default ports. that doesn't work on at least
# Fedora (Nov 9th, 2009) so use JACK MIDI on linux.
if sys.platform == 'darwin':
rc_subst_dict = {
'MIDITAG' : 'control',
'MIDITYPE' : 'coremidi',
'JACK_INPUT' : 'auditioner'
}
else:
rc_subst_dict = {
'MIDITAG' : 'control',
'MIDITYPE' : 'jack',
'JACK_INPUT' : 'auditioner'
}
obj = bld(features = 'subst')
obj.source = 'ardour.rc.in'
obj.target = 'ardour_system.rc'
obj.dict = rc_subst_dict
obj.install_path = '${SYSCONFDIR}/ardour3'
bld.install_files (os.path.join(bld.env['SYSCONFDIR'], 'ardour3', ), 'ardour_system.rc')
def i18n(bld):
bld.recurse (i18n_children)