add makefile ; edit readme
fixup edit readme
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,4 @@
|
||||
*.pyc
|
||||
*.core
|
||||
text-scraping.py
|
||||
text-scraper.py
|
||||
notes
|
||||
notes.md
|
||||
|
||||
@@ -4,8 +4,11 @@ Helpful scripts to get information from http://metal-archives.com
|
||||
|
||||
## installation
|
||||
|
||||
1. install python3 and python3-pip from your package manager (UNIX), or http://python.org/getit/windows (Windows)
|
||||
1. install `python3` and `python3-pip` from your package manager (UNIX), or http://python.org/getit/windows (Windows)
|
||||
2. install the required libs: `pip3 install urllib bs4 requests lyricfetcher`
|
||||
3. put them somewhere in your $PATH, (or alternatively run `sudo make install`)
|
||||
|
||||
## screenshots
|
||||
|
||||
### releases
|
||||

|
||||
@@ -31,9 +34,8 @@ Helpful scripts to get information from http://metal-archives.com
|
||||
### location
|
||||

|
||||
|
||||
------
|
||||
|
||||
Originally these were methods from http://github.com/mitchweaver/diskvlt-bot
|
||||
|
||||
But as they are so handy, I now use them to categorize and tag my music.
|
||||
|
||||
|
||||
|
||||
28
makefile
Normal file
28
makefile
Normal file
@@ -0,0 +1,28 @@
|
||||
PREFIX = /usr/local
|
||||
|
||||
.PHONY: all install uninstall
|
||||
|
||||
all: install
|
||||
|
||||
install:
|
||||
@echo 'Installing metal-archives scripts...'
|
||||
install -Dm755 band $(DESTDIR)$(PREFIX)/bin/band
|
||||
install -Dm755 cover $(DESTDIR)$(PREFIX)/bin/cover
|
||||
install -Dm755 genre $(DESTDIR)$(PREFIX)/bin/genre
|
||||
install -Dm755 location $(DESTDIR)$(PREFIX)/bin/location
|
||||
install -Dm755 logo $(DESTDIR)$(PREFIX)/bin/logo
|
||||
install -Dm755 lyrics $(DESTDIR)$(PREFIX)/bin/lyrics
|
||||
install -Dm755 releases $(DESTDIR)$(PREFIX)/bin/releases
|
||||
install -Dm755 songs $(DESTDIR)$(PREFIX)/bin/songs
|
||||
|
||||
uninstall:
|
||||
@echo 'Uninstalling metal-archives scripts...'
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/band
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/cover
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/genre
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/location
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/logo
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/lyrics
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/releases
|
||||
rm -f $(DESTDIR)$(PREFIX)/bin/songs
|
||||
|
||||
Reference in New Issue
Block a user