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 # always build all versions of the menu definitions
# so that we can try them out with different program builds. # 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 = bld(features = 'command-output')
obj.stdin = program + '.menus.in' obj.command = 'cpp'
obj.stdout = program + '.menus' obj.command_is_external = True
bld.install_files (bld.env['CONFDIR'], program + '.menus') obj.no_inputs = True
obj.argv = menus_argv
obj.dep_vars = ['PTFORMAT', 'MIXBUS', 'WINDOWS', 'debug']
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
freedesktop_subst_dict = { freedesktop_subst_dict = {