summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-04-05 10:21:36 +0200
committerxengineering <me@xengineering.eu>2025-04-05 10:47:44 +0200
commitec8958e5ded76bd148e2cb4efbd22603555b93f5 (patch)
tree75b55912b29cc8defc1eef0328590ff1ddde3f76
parent6ff99393b4bbc1207375cbbc032814e233b03758 (diff)
downloadiot-contact-ec8958e5ded76bd148e2cb4efbd22603555b93f5.tar
iot-contact-ec8958e5ded76bd148e2cb4efbd22603555b93f5.tar.zst
iot-contact-ec8958e5ded76bd148e2cb4efbd22603555b93f5.zip
web: Depend on schematic and bom targets
This triggers a website rebuild when schematic files are updated.
-rw-r--r--web/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/meson.build b/web/meson.build
index 20a4520..1e8989c 100644
--- a/web/meson.build
+++ b/web/meson.build
@@ -1,6 +1,6 @@
subdir('content')
-custom_target('website',
+website = custom_target('website',
output: ['public'],
command: [
'hugo',
@@ -13,5 +13,9 @@ custom_target('website',
'layouts/baseof.html',
'layouts/home.html',
],
+ depends: [
+ schematic,
+ bom,
+ ],
build_by_default: true,
)