You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
601 B
21 lines
601 B
PREFIX ?= /usr |
|
RM ?= rm -f |
|
INSTALL_DIR ?= install -m755 -d |
|
INSTALL_PROG ?= install -m755 |
|
INSTALL_FILE ?= install -m644 |
|
|
|
all: |
|
@echo Run \'make install\' to install Fetch |
|
|
|
install: |
|
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/bin |
|
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/share/fetch/ascii/distro |
|
$(INSTALL_PROG) fetch $(DESTDIR)$(PREFIX)/bin/fetch |
|
$(INSTALL_PROG) config/config $(DESTDIR)$(PREFIX)/share/fetch/config |
|
$(INSTALL_PROG) ascii/distro/* $(DESTDIR)$(PREFIX)/share/fetch/ascii/distro |
|
|
|
uninstall: |
|
$(RM) $(DESTDIR)$(PREFIX)/bin/fetch |
|
$(RM) -r $(DESTDIR)$(PREFIX)/share/fetch |
|
|
|
|
|
|