summaryrefslogtreecommitdiff
path: root/blog/meson.build
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-08-27 02:40:36 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-08-27 02:40:36 -0400
commit96db3f4893fb5220234b41f8b4cbc30221905151 (patch)
treeff8475f340eb7d15cbe18ac1545621d3cfb858b3 /blog/meson.build
parentb5e49151e2d5b0d5bf1d977581dbcc6cb2650b15 (diff)
downloadwebsite-96db3f4893fb5220234b41f8b4cbc30221905151.tar.gz
replace makefile with meson
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