This repository has been archived on 2024-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
2016-02-08 11:02:49 +00:00
|
|
|
PREFIX ?= /usr
|
2016-01-30 10:18:30 +00:00
|
|
|
RM ?= rm -f
|
|
|
|
INSTALL_DIR ?= install -m755 -d
|
2016-02-08 11:14:26 +00:00
|
|
|
INSTALL_PROG ?= install -m755
|
|
|
|
INSTALL_FILE ?= install -m644
|
2016-01-30 10:18:30 +00:00
|
|
|
|
|
|
|
all:
|
2016-02-28 00:44:45 +00:00
|
|
|
@echo Run \'make install\' to install Neofetch
|
2016-01-30 10:18:30 +00:00
|
|
|
|
|
|
|
install:
|
2016-02-08 11:02:49 +00:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/bin
|
2016-02-28 00:44:45 +00:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/share/neofetch/ascii/distro
|
|
|
|
$(INSTALL_PROG) neofetch $(DESTDIR)$(PREFIX)/bin/neofetch
|
|
|
|
$(INSTALL_PROG) config/config $(DESTDIR)$(PREFIX)/share/neofetch/config
|
|
|
|
$(INSTALL_PROG) ascii/distro/* $(DESTDIR)$(PREFIX)/share/neofetch/ascii/distro
|
2016-01-30 10:18:30 +00:00
|
|
|
|
|
|
|
uninstall:
|
2016-02-28 00:44:45 +00:00
|
|
|
$(RM) $(DESTDIR)$(PREFIX)/bin/neofetch
|
|
|
|
$(RM) -r $(DESTDIR)$(PREFIX)/share/neofetch
|
2016-01-30 10:18:30 +00:00
|
|
|
|
|
|
|
|