mirror of
https://github.com/ksyasuda/aniwrapper.git
synced 2024-11-22 03:19:53 -08:00
ae66b83df2
icon installed to $XDG_CONFIG_HOME/aniwrapper/
29 lines
749 B
Makefile
29 lines
749 B
Makefile
PREFIX := /usr
|
|
|
|
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
|
|
|
|
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
|
|
|
|
.PHONY: all install uninstall dev reinstall
|
|
|