summaryrefslogtreecommitdiff
path: root/web/meson.build
blob: 20a452011e438ba23191dafb5b0a6bd2a3c41237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
subdir('content')

custom_target('website',
  output: ['public'],
  command: [
    'hugo',
    '--source', meson.current_source_dir(),
    '--destination', meson.current_build_dir() / 'public',
    '--contentDir', meson.current_build_dir() / 'content',
  ],
  depend_files: [
    'hugo.toml',
    'layouts/baseof.html',
    'layouts/home.html',
  ],
  build_by_default: true,
)