mirror of
https://github.com/xlmnxp/blue-recorder.git
synced 2024-11-24 01:24:07 +03:00
25 lines
886 B
Makefile
Executable File
25 lines
886 B
Makefile
Executable File
{19ac2b4408bbb9c8f61295a7ae8fa9d294b4a59d true 886 rules 0xc002b16070}
#!/usr/bin/make -f
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_clean:
|
|
cargo clean
|
|
|
|
|
|
override_dh_auto_build:
|
|
cargo build --release
|
|
|
|
|
|
override_dh_auto_install:
|
|
desktop-file-edit --set-icon=blue-recorder "data/blue-recorder.desktop"
|
|
install -Dm0644 "data/blue-recorder.desktop" "debian/blue-recorder/usr/share/applications/blue-recorder.desktop"
|
|
install -Dm04755 "target/release/blue-recorder" "debian/blue-recorder/opt/blue-recorder/blue-recorder"
|
|
cp -r "data" "debian/blue-recorder/opt/blue-recorder/data/"
|
|
cp -r "po" "debian/blue-recorder/opt/blue-recorder/po/"
|
|
mkdir -p "debian/blue-recorder/usr/bin/"
|
|
ln -s "/opt/blue-recorder/blue-recorder"
|
|
mv blue-recorder "debian/blue-recorder/usr/bin"
|
|
install -Dm0644 "interfaces/main.ui" "debian/blue-recorder/opt/blue-recorder/interfaces/main.ui"
|
|
install -Dm0644 "data/blue-recorder.svg" "debian/blue-recorder/usr/share/pixmaps/blue-recorder.svg"
|
|
|