brand new Makefile
This commit is contained in:
11
Makefile
Normal file
11
Makefile
Normal 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
|
Reference in New Issue
Block a user