mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2025-12-08 04:48:00 -08:00
update setup file and add makefile to make simplify install
This commit is contained in:
20
Makefile
Normal file
20
Makefile
Normal file
@@ -0,0 +1,20 @@
|
||||
PREFIX := /usr/local
|
||||
|
||||
all: install
|
||||
|
||||
install:
|
||||
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:
|
||||
ln -sr ani-cli $(DESTDIR)$(PREFIX)/bin/ani-cli
|
||||
ln -sr aniwrapper $(DESTDIR)$(PREFIX)/bin/aniwrapper
|
||||
|
||||
uninstall:
|
||||
$(RM) $(DESTDIR)$(PREFIX)/bin/ani-cli
|
||||
$(RM) $(DESTDIR)$(PREFIX)/bin/aniwrapper
|
||||
|
||||
.PHONY: all install uninstall dev
|
||||
|
||||
Reference in New Issue
Block a user