13
0

configuration_metadata.cc should be manually generated whenever metadata changes, so just commit current version

This commit is contained in:
Paul Davis 2023-01-28 08:27:56 -07:00
parent 099e130367
commit dcf4377b47
3 changed files with 12 additions and 10 deletions

View File

@ -0,0 +1,11 @@
/* This file was generated by tools/process-metadata. DO NOT EDIT THIS FILE. EVER! */
void
UIConfiguration::build_metadata ()
{
#define VAR_META(name,...) { char const * _x[] { __VA_ARGS__ }; all_metadata.insert (std::make_pair<std::string,Metadata> ((name), PBD::upcase (_x))); }
VAR_META (X_("font-scale"), _("fonts"), _("font"), _("size"), _("scaling"), _("readable"), _("readability"), NULL);
}

View File

@ -942,15 +942,6 @@ def build(bld):
)
obj.install_path = bld.env['CONFDIR']
# NATIVE ARDOUR BINDING FILES
# explicitly state the use of perl here so that it works on windows too
#
pm_rule = 'perl %s/tools/process-metadata <${SRC[0].abspath()} >${TGT}' % bld.top_dir;
bld(target = 'configuration_metadata.cc',
source = 'preference-metadata',
rule = pm_rule
)
# Icons/Images
bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), bld.path.ant_glob('icons/*.png'))
bld.install_files(bld.env['DATADIR'], 'ArdourMono.ttf')

View File

@ -7,7 +7,7 @@ $heading = "";
$accumulated = "";
print "
/* This file was generated by tools/process-metadata */
/* This file was generated by tools/process-metadata. DO NOT EDIT THIS FILE. EVER! */
void
UIConfiguration::build_metadata ()
{