move files around
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,6 +1,5 @@
|
|||||||
gallery-dl/log.txt
|
gallery-dl/log.txt
|
||||||
|
|
||||||
# executables
|
# executables
|
||||||
has_internet
|
build
|
||||||
db
|
target
|
||||||
/target
|
|
||||||
|
8
Makefile
8
Makefile
@ -1,10 +1,10 @@
|
|||||||
install: build
|
install: build
|
||||||
install -D -m 0755 --target-directory="${HOME}/.local/bin" has_internet target/release/Hentai add_and_download_url.sh download_website.sh
|
install -D -m 0755 --target-directory="${HOME}/.local/bin" build/has_internet target/release/Hentai add_and_download_url.sh download_website.sh
|
||||||
install -D -m 0755 --target-directory="${HOME}/.config" Hentai.conf
|
install -D -m 0755 --target-directory="${HOME}/.config" Hentai.conf
|
||||||
|
|
||||||
build:
|
build:
|
||||||
gcc -std=gnu23 -o has_internet has_internet.c
|
gcc -std=gnu23 -o build/has_internet src/has_internet.c
|
||||||
strip has_internet
|
strip build/has_internet
|
||||||
cargo build --release
|
cargo build --release
|
||||||
strip target/release/Hentai
|
strip target/release/Hentai
|
||||||
|
|
||||||
@ -13,5 +13,5 @@ uninstall:
|
|||||||
rm -f "${HOME}"/.config/Hentai.conf
|
rm -f "${HOME}"/.config/Hentai.conf
|
||||||
|
|
||||||
beehive: build
|
beehive: build
|
||||||
scp has_internet target/release/Hentai add_and_download_url.sh download_website.sh beehive:.local/bin
|
scp build/has_internet target/release/Hentai add_and_download_url.sh download_website.sh beehive:.local/bin
|
||||||
scp Hentai.conf beehive:.config
|
scp Hentai.conf beehive:.config
|
||||||
|
Reference in New Issue
Block a user