violet/Makefile

19 lines
478 B
Makefile
Raw Normal View History

2021-07-28 20:13:38 +03:00
violet:
2021-07-29 13:12:15 +03:00
@echo ":: Running cargo..."
2021-07-28 13:22:19 +03:00
cargo build --release
2021-07-28 20:13:38 +03:00
install-root:
2021-07-29 13:12:15 +03:00
@echo ":: Installing..."
2021-07-28 20:13:38 +03:00
cp -f target/release/violet /usr/local/bin/violet
2021-07-29 14:49:51 +03:00
cp -f scripts/init.sh /usr/local/bin/violet-init
cp -n files/violet.desktop /usr/share/xsessions/
2021-07-28 13:22:19 +03:00
install:
2021-07-29 13:12:15 +03:00
@echo ":: Installing..."
2021-07-28 20:13:38 +03:00
cp -f target/release/violet ~/.local/bin/violet
2021-07-29 13:12:15 +03:00
cp -f scripts/init.sh ~/.local/bin/init
2021-07-28 13:22:19 +03:00
remove:
2021-07-29 13:12:15 +03:00
@echo ":: Removing..."
2021-07-28 20:13:38 +03:00
rm /usr/local/bin/violet
2021-07-28 13:22:19 +03:00
clean:
2021-07-29 13:12:15 +03:00
@echo ":: Cleaning..."
cargo clean