diff options
author | kotontrion <[email protected]> | 2024-12-20 09:49:58 +0100 |
---|---|---|
committer | kotontrion <[email protected]> | 2024-12-20 09:49:58 +0100 |
commit | fcef5cea5ca84fa06a74e69de34e84b4d0842fcc (patch) | |
tree | 798de065ecce20a6f5892bc729ef73455abe209c /examples/vala/simple-bar/meson.build | |
parent | 5ed7a1416c2532188a7e01fead3842602fdb670f (diff) | |
parent | d7d11b341db85ce9768fa06b6f225d713621ec56 (diff) |
Merge branch 'main' into feat/wayland-glib
Diffstat (limited to 'examples/vala/simple-bar/meson.build')
-rw-r--r-- | examples/vala/simple-bar/meson.build | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/examples/vala/simple-bar/meson.build b/examples/vala/simple-bar/meson.build index 10f5dd2..5a0ef4c 100644 --- a/examples/vala/simple-bar/meson.build +++ b/examples/vala/simple-bar/meson.build @@ -21,22 +21,15 @@ pkgconfig_deps = [ # needed for GLib.Math deps = pkgconfig_deps + meson.get_compiler('c').find_library('m') -custom_target( - 'style.css', - command: [ - find_program('sass'), - meson.project_source_root() / 'style.scss', - '@OUTPUT@', - ], - output: 'style.css', - install: true, - install_dir: libdir, -) - main = configure_file( input: 'app.in.vala', output: 'app.vala', - configuration: {'STYLE': libdir / 'style.css'}, + configuration: { + 'STYLE': run_command( + find_program('sass'), + meson.project_source_root() / 'style.scss', + ).stdout(), + }, ) sources = files( |