13
0

use a different source file for ardour.menus in the livetrax case

This commit is contained in:
Paul Davis 2024-04-25 09:26:33 -06:00
parent 4665cdcb6b
commit f1a3eb1e3d

View File

@ -859,17 +859,19 @@ def build(bld):
# always build all versions of the menu definitions
# so that we can try them out with different program builds.
for program in [ 'ardour']:
obj = bld(features = 'command-output')
obj.command = 'cpp'
obj.command_is_external = True
obj.no_inputs = True
obj.argv = menus_argv
obj.dep_vars = ['PTFORMAT', 'MIXBUS', 'WINDOWS', 'debug']
obj.stdin = program + '.menus.in'
obj.stdout = program + '.menus'
bld.install_files (bld.env['CONFDIR'], program + '.menus')
if bld.is_defined('LIVETRAX'):
obj.stdin = 'livetrax.menus.in'
else:
obj.stdin = 'ardour.menus.in'
obj.stdout = 'ardour.menus'
bld.install_files (bld.env['CONFDIR'], 'ardour.menus')
# Freedesktop
freedesktop_subst_dict = {