project('custom install script', 'c') meson.set_install_script('myinstall.sh') executable('prog', 'prog.c', install : true)