add makefile ; edit readme

fixup

edit readme
This commit is contained in:
Mitch Weaver
2018-04-23 18:27:22 +02:00
parent 0b0cd0bf77
commit 55a1fef7ca
3 changed files with 33 additions and 5 deletions

28
makefile Normal file
View 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