gadget_name = 'calculator' install_dir = join_paths(gadgets_install_dir, gadget_name) # Build gadget_name.edj custom_target(gadget_name + '.edj', input : gadget_name + '.edc', output : gadget_name + '.edj', command : [edje_cc, '-id', meson.current_source_dir() / 'images', '-fd', meson.current_source_dir() / 'fonts', '@INPUT@', '@OUTPUT@'], install_dir: install_dir, install : true ) # Bytecompile gadget script custom_target('__init__.pyc', input : '__init__.py', output : '__init__.pyc', command : py3_bytecompile, install_dir: install_dir, install : true )