1custom_target(
2    'cantarell-static-fonts',
3    input: 'Cantarell.designspace',
4    output: [
5        'Cantarell-Thin.otf',
6        'Cantarell-Light.otf',
7        'Cantarell-Regular.otf',
8        'Cantarell-Bold.otf',
9        'Cantarell-ExtraBold.otf',
10    ],
11    command: [python3, make_static_fonts, '@INPUT@', psautohint, '@OUTDIR@'],
12    install: true,
13    install_dir: fontsdir,
14)
15
16custom_target(
17    'cantarell-variable-font',
18    input: 'Cantarell.designspace',
19    output: 'Cantarell-VF.otf',
20    command: [
21        python3,
22        make_variable_font,
23        '@INPUT@',
24        join_paths(meson.current_source_dir(), 'Cantarell.stylespace'),
25        psautohint,
26        '@OUTPUT@'
27    ],
28    install: true,
29    install_dir: fontsdir,
30)
31