brand new Makefile

This commit is contained in:
2025-04-20 23:59:05 +02:00
parent 530a07d5d3
commit fa1c0c2681

11
Makefile Normal file
View File

@ -0,0 +1,11 @@
install: build
install -D -m 0644 --target-directory="${HOME}/.local/bin" target/release/Hentai add_and_download_url.sh download_website.sh
install -D -m 0644 --target-directory="${HOME}/.config" Hentai.conf
build:
cargo build --release
strip target/release/Hentai
uninstall:
rm -f "${HOME}"/.local/bin/Hentai "${HOME}"/.local/bin/add_and_download_url.sh "${HOME}"/.local/bin/download_website.sh
rm -f "${HOME}"/.config/Hentai.conf