diff --git a/BUILDING.md b/BUILDING.md index 6156ad6..951806b 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -116,8 +116,8 @@ environment variables. # Run the server, with debug logging enabled export GSETTINGS_SCHEMA_DIR=build/credentialsd-ui/data export RUST_LOG=credentialsd=debug,credentials_ui=debug -./build/credentialsd/target/debug/credentialsd & -./build/credentialsd-ui/target/debug/credentialsd-ui +./build/credentialsd/src/credentialsd & +./build/credentialsd-ui/src/credentialsd-ui ``` ## Testing development builds with Firefox Web Add-On diff --git a/credentialsd-ui/src/meson.build b/credentialsd-ui/src/meson.build index ead5527..f6a0a44 100644 --- a/credentialsd-ui/src/meson.build +++ b/credentialsd-ui/src/meson.build @@ -50,13 +50,16 @@ custom_target( install_dir: bindir, depends: resources, command: [ + 'rm', + '-f', '@OUTPUT@', + '&&', 'env', cargo_env, cargo, 'build', cargo_options, '&&', - 'cp', + 'ln', cargo_target_dir / rust_profile / gui_executable_name, '@OUTPUT@', ], diff --git a/credentialsd/src/meson.build b/credentialsd/src/meson.build index d055076..374d0ef 100644 --- a/credentialsd/src/meson.build +++ b/credentialsd/src/meson.build @@ -19,13 +19,16 @@ custom_target( install: true, install_dir: bindir, command: [ + 'rm', + '-f', '@OUTPUT@', + '&&', 'env', cargo_env, cargo, 'build', cargo_options, '&&', - 'cp', + 'ln', cargo_target_dir / rust_profile / backend_executable_name, '@OUTPUT@', ],