From fba9bcfc9a422dd3020b5efc2392ddfd71231560 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 28 May 2026 21:05:00 +0200 Subject: 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. --- frontend/simple.css/meson.build | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 frontend/simple.css/meson.build (limited to 'frontend/simple.css/meson.build') diff --git a/frontend/simple.css/meson.build b/frontend/simple.css/meson.build new file mode 100644 index 0000000..19b2df4 --- /dev/null +++ b/frontend/simple.css/meson.build @@ -0,0 +1,5 @@ +foreach hugo_source : [ + 'simple.css', +] + hugo_source_targets += fs.copyfile(hugo_source) +endforeach -- cgit v1.3.1