summaryrefslogtreecommitdiff
path: root/frontend/meson.build
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2026-05-28 21:05:00 +0200
committerxengineering <me@xengineering.eu>2026-05-29 16:25:02 +0200
commitfba9bcfc9a422dd3020b5efc2392ddfd71231560 (patch)
tree0922c6080aaaf225c24bd839cf6bad6696d9fbd9 /frontend/meson.build
parentd2e35b764adbc152190f1815d5ba29dd542fc387 (diff)
downloadfinserv-fba9bcfc9a422dd3020b5efc2392ddfd71231560.tar
finserv-fba9bcfc9a422dd3020b5efc2392ddfd71231560.tar.zst
finserv-fba9bcfc9a422dd3020b5efc2392ddfd71231560.zip
frontend: simple.css: Use copy of upstream code
This switches from the use of a Git submodule to a locally committed copy of the needed file and it's license. The reason is that `hugo server` needs the CSS file in the same relative path as `hugo build` which is run in the build tree. But this is not possible because Meson cannot copy it to the `build/frontend/simple.css` folder without a `meson.build` in `source/frontend/simple.css`. This together with the limitation that symbolic links are not supported by Hugo makes life pretty difficult. Thus a local copy of simple.css and an adjacent `meson.build` file is chosen.
Diffstat (limited to 'frontend/meson.build')
-rw-r--r--frontend/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/meson.build b/frontend/meson.build
index 6af84e5..4496b22 100644
--- a/frontend/meson.build
+++ b/frontend/meson.build
@@ -11,7 +11,7 @@ foreach hugo_source : [
endforeach
subdir('layouts')
-subdir('static')
+subdir('simple.css')
frontend = custom_target(
output : 'public',