Clean up top-level source tree

Collect architecture independent data in 'share' subfolder.
This also matches the install path
This commit is contained in:
Robin Gareus 2020-02-23 15:26:48 +01:00
parent 96ef1dc0ed
commit 54c4d3adc5
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
564 changed files with 25 additions and 25 deletions

14
wscript
View file

@ -262,12 +262,12 @@ children = [
'libs/plugins/a-reverb.lv2',
'libs/plugins/a-fluidsynth.lv2',
'gtk2_ardour',
'export',
'midi_maps',
'mcp',
'osc',
'patchfiles',
'plugin_metadata',
'share/export',
'share/midi_maps',
'share/mcp',
'share/osc',
'share/patchfiles',
'share/plugin_metadata',
'scripts',
'headless',
'session_utils',
@ -1451,7 +1451,7 @@ def build(bld):
bld.install_files (bld.env['CONFDIR'], 'system_config')
bld.install_files (os.path.join (bld.env['DATADIR'], 'templates'), bld.path.ant_glob ('templates/**'), cwd=bld.path.find_dir ('templates'), relative_trick=True)
bld.install_files (os.path.join (bld.env['DATADIR'], 'templates'), bld.path.ant_glob ('share/templates/**'), cwd=bld.path.find_dir ('share/templates'), relative_trick=True)
if bld.env['RUN_TESTS']:
bld.add_post_fun(test)