enlightenment-module-edgar/gadgets/mem/meson.build

28 lines
840 B
Meson
Raw Permalink Normal View History

gadget_name = 'mem'
install_dir = join_paths(gadgets_install_dir, gadget_name)
2020-04-22 23:32:14 -07:00
# 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
)
2020-04-22 23:32:14 -07:00
# Bytecompile gadget script
custom_target('__init__.pyc',
input : '__init__.py',
output : '__init__.pyc',
command : py3_bytecompile,
install_dir: install_dir,
install : true
)