From ec8958e5ded76bd148e2cb4efbd22603555b93f5 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 5 Apr 2025 10:21:36 +0200 Subject: web: Depend on schematic and bom targets This triggers a website rebuild when schematic files are updated. --- web/meson.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, ) -- cgit v1.2.3-70-g09d2