mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
pretty nice makefile i hope and update readme
This commit is contained in:
parent
41c6e7649b
commit
af1d466620
22
Makefile
22
Makefile
@ -2,29 +2,25 @@ PREFIX := /usr
|
||||
|
||||
all: install
|
||||
|
||||
install:
|
||||
install: uninstall
|
||||
cp ani-cli $(DESTDIR)$(PREFIX)/bin/ani-cli
|
||||
cp aniwrapper $(DESTDIR)$(PREFIX)/bin/aniwrapper
|
||||
chmod 0755 $(DESTDIR)$(PREFIX)/bin/ani-cli
|
||||
chmod 0755 $(DESTDIR)$(PREFIX)/bin/aniwrapper
|
||||
|
||||
dev:
|
||||
$(RM) $(DESTDIR)$(PREFIX)/bin/ani-cli
|
||||
$(RM) $(DESTDIR)$(PREFIX)/bin/aniwrapper
|
||||
ln -sr ani-cli $(DESTDIR)$(PREFIX)/bin/ani-cli
|
||||
ln -sr aniwrapper $(DESTDIR)$(PREFIX)/bin/aniwrapper
|
||||
dev: uninstall
|
||||
ln -sr ./ani-cli $(DESTDIR)$(PREFIX)/bin/ani-cli
|
||||
ln -sr ./aniwrapper $(DESTDIR)$(PREFIX)/bin/aniwrapper
|
||||
|
||||
uninstall:
|
||||
ifneq ("$(wildcard $(DESTDIR)$(PREFIX)/bin/ani-cli)","")
|
||||
$(RM) $(DESTDIR)$(PREFIX)/bin/ani-cli
|
||||
endif
|
||||
ifneq ("$(wildcard $(DESTDIR)$(PREFIX)/bin/aniwrapper)","")
|
||||
$(RM) $(DESTDIR)$(PREFIX)/bin/aniwrapper
|
||||
endif
|
||||
|
||||
reinstall:
|
||||
$(RM) $(DESTDIR)$(PREFIX)/bin/ani-cli
|
||||
$(RM) $(DESTDIR)$(PREFIX)/bin/aniwrapper
|
||||
cp ani-cli $(DESTDIR)$(PREFIX)/bin/ani-cli
|
||||
cp aniwrapper $(DESTDIR)$(PREFIX)/bin/aniwrapper
|
||||
chmod 0755 $(DESTDIR)$(PREFIX)/bin/ani-cli
|
||||
chmod 0755 $(DESTDIR)$(PREFIX)/bin/aniwrapper
|
||||
reinstall: uninstall install
|
||||
|
||||
.PHONY: all install uninstall dev reinstall
|
||||
|
||||
|
@ -103,10 +103,10 @@ To install manually, make sure the dependencies are installed first
|
||||
|
||||
```sh
|
||||
# Arch
|
||||
pacman -S --needed grep curl sed mpv ffmpeg rofi sqlite3
|
||||
pacman -S --needed curl grep mpv rofi sed sqlite3
|
||||
|
||||
# Debian
|
||||
apt install grep curl sed mpv ffmpeg rofi sqlite3
|
||||
apt install curl grep mpv rofi sed sqlite3
|
||||
```
|
||||
|
||||
#### Clone the repo
|
||||
@ -119,7 +119,7 @@ git clone https://github.com/ksyasuda/aniwrapper && cd aniwrapper
|
||||
|
||||
#### Run the setup and install the script
|
||||
|
||||
After switching into the `aniwrapper` directory, run the following commands to set up and install the script
|
||||
From the `aniwrapper` directory, run the following commands to set up and install the script
|
||||
|
||||
```sh
|
||||
chmod +x setup.sh
|
||||
@ -134,7 +134,7 @@ There are several menus used to drive the program forward
|
||||
|
||||
The first menu consists of a search box and a list of anime titles corresponding to past valid searches. Choose an option from the menu, or enter in a unique search query to search for a new anime. The result from this will be used to query against `gogoanime` and return similar named anime
|
||||
|
||||
As of the update on ___2022-01-01___, if selecting an anime from the search history list, the [anime selection](#anime-selection) menu will be skipped and the program will move on to [episode selection](#episode-selection)
|
||||
As of the update on **_2022-01-01_**, if selecting an anime from the search history list, the [anime selection](#anime-selection) menu will be skipped and the program will move on to [episode selection](#episode-selection)
|
||||
|
||||
### Dealing with conflicting search queries / rofi grabbing from search list
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user