summaryrefslogtreecommitdiff
path: root/web/meson.build
blob: 1526621ad787eb1ab65511bef54fc6d54b38a82b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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,
  ],
  build_by_default: true,
  install: true,
  install_dir: 'website',
)