diff --git a/meson.build b/meson.build index 1e336a02..9e26cce8 100644 --- a/meson.build +++ b/meson.build @@ -26,6 +26,7 @@ cargo_release = find_program('scripts/release.sh') cargo_release = custom_target('cargo-build', build_by_default: true, + build_always: true, output: ['fractal'], install: true, install_dir: fractal_bindir, diff --git a/scripts/cargo.sh b/scripts/cargo.sh index 22c9e41d..398881be 100755 --- a/scripts/cargo.sh +++ b/scripts/cargo.sh @@ -1,3 +1,3 @@ #!/bin/sh -cargo build --release && cp $1/target/release/fractal-gtk $2 +cargo build --release -p fractal-gtk && cp $1/target/release/fractal-gtk $2