1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
hugo_toml = 'hugo.toml' configure_file( input: hugo_toml, output: hugo_toml, copy: true, ) subdir('layouts') custom_target('website', output: ['public'], command: [ 'hugo', '--source', meson.current_build_dir(), '--destination', meson.current_build_dir() / 'public', ], build_by_default: true, )