summaryrefslogtreecommitdiff
path: root/blog/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'blog/meson.build')
-rw-r--r--blog/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/blog/meson.build b/blog/meson.build
new file mode 100644
index 0000000..fa74600
--- /dev/null
+++ b/blog/meson.build
@@ -0,0 +1,14 @@
+posts = files('access-control.org', 'gentoo-on-gcloud.org', 'index.org')
+
+foreach post : posts
+ html = fs.replace_suffix(post, '.html')
+
+ custom_target(
+ output: fs.name(html),
+ input: post,
+ command: build_command,
+ install: true,
+ install_dir: '/var/www' / site / 'blog',
+ capture: true,
+ )
+endforeach