summaryrefslogtreecommitdiff
path: root/web/meson.build
blob: da454408a10313258f01a566201c540758be681f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
website = custom_target('website',
  output: ['index.html'],
  command: [
    'hugo',
    '--source', meson.current_source_dir(),
    '--destination', meson.current_build_dir(),
  ],
  depend_files: [
    'hugo.toml',
    'layouts/baseof.html',
    'layouts/home.html',
  ],
  depends: [
    schematic,
    bom,
    application,
    bootloader,
  ],
  build_by_default: true,
  install: true,
  install_dir: 'website',
)