violet/Makefile
2021-07-29 13:49:51 +02:00

18 lines
478 B
Makefile

violet:
@echo ":: Running cargo..."
cargo build --release
install-root:
@echo ":: Installing..."
cp -f target/release/violet /usr/local/bin/violet
cp -f scripts/init.sh /usr/local/bin/violet-init
cp -n files/violet.desktop /usr/share/xsessions/
install:
@echo ":: Installing..."
cp -f target/release/violet ~/.local/bin/violet
cp -f scripts/init.sh ~/.local/bin/init
remove:
@echo ":: Removing..."
rm /usr/local/bin/violet
clean:
@echo ":: Cleaning..."
cargo clean