2016-02-08 04:02:49 -07:00
|
|
|
PREFIX ?= /usr
|
2016-01-30 03:18:30 -07:00
|
|
|
RM ?= rm -f
|
|
|
|
INSTALL_DIR ?= install -m755 -d
|
2016-02-08 04:14:26 -07:00
|
|
|
INSTALL_PROG ?= install -m755
|
|
|
|
INSTALL_FILE ?= install -m644
|
2016-01-30 03:18:30 -07:00
|
|
|
|
|
|
|
all:
|
2016-02-27 17:44:45 -07:00
|
|
|
@echo Run \'make install\' to install Neofetch
|
2016-01-30 03:18:30 -07:00
|
|
|
|
|
|
|
install:
|
2016-02-08 04:02:49 -07:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/bin
|
2016-02-27 17:44:45 -07:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/share/neofetch/ascii/distro
|
2016-03-04 22:34:17 -07:00
|
|
|
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/share/man/man1
|
2016-02-27 17:44:45 -07:00
|
|
|
$(INSTALL_PROG) neofetch $(DESTDIR)$(PREFIX)/bin/neofetch
|
2016-03-04 22:34:17 -07:00
|
|
|
$(INSTALL_FILE) neofetch.1 $(DESTDIR)$(PREFIX)/share/man/man1/neofetch.1
|
2016-02-27 17:44:45 -07:00
|
|
|
$(INSTALL_PROG) config/config $(DESTDIR)$(PREFIX)/share/neofetch/config
|
2016-11-18 06:34:13 -07:00
|
|
|
$(INSTALL_FILE) ascii/distro/* $(DESTDIR)$(PREFIX)/share/neofetch/ascii/distro
|
2016-01-30 03:18:30 -07:00
|
|
|
|
|
|
|
uninstall:
|
2016-02-27 17:44:45 -07:00
|
|
|
$(RM) $(DESTDIR)$(PREFIX)/bin/neofetch
|
2016-03-04 15:21:57 -07:00
|
|
|
$(RM) $(DESTDIR)$(PREFIX)/share/man/man1/neofetch.1
|
2016-02-27 17:44:45 -07:00
|
|
|
$(RM) -r $(DESTDIR)$(PREFIX)/share/neofetch
|
2016-01-30 03:18:30 -07:00
|
|
|
|
|
|
|
|