summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/web/meson.build b/web/meson.build
new file mode 100644
index 0000000..3fcffed
--- /dev/null
+++ b/web/meson.build
@@ -0,0 +1,16 @@
+custom_target('website',
+ output: ['public'],
+ command: [
+ 'hugo',
+ '--source',
+ meson.current_source_dir(),
+ '--destination',
+ meson.current_build_dir() / 'public',
+ ],
+ depend_files: [
+ 'hugo.toml',
+ 'layouts/baseof.html',
+ 'layouts/home.html',
+ ],
+ build_by_default: true,
+)