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.
neofetch/Makefile

25 lines
803 B
Makefile
Raw Normal View History

PREFIX ?= /usr
RM ?= rm -f
INSTALL_DIR ?= install -m755 -d
INSTALL_PROG ?= install -m755
INSTALL_FILE ?= install -m644
all:
2016-02-28 00:44:45 +00:00
@echo Run \'make install\' to install Neofetch
install:
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/bin
2016-02-28 00:44:45 +00:00
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/share/neofetch/ascii/distro
2016-03-05 05:34:17 +00:00
$(INSTALL_DIR) $(DESTDIR)$(PREFIX)/share/man/man1
2016-02-28 00:44:45 +00:00
$(INSTALL_PROG) neofetch $(DESTDIR)$(PREFIX)/bin/neofetch
2016-03-05 05:34:17 +00:00
$(INSTALL_FILE) neofetch.1 $(DESTDIR)$(PREFIX)/share/man/man1/neofetch.1
2016-02-28 00:44:45 +00:00
$(INSTALL_PROG) config/config $(DESTDIR)$(PREFIX)/share/neofetch/config
$(INSTALL_FILE) ascii/distro/* $(DESTDIR)$(PREFIX)/share/neofetch/ascii/distro
uninstall:
2016-02-28 00:44:45 +00:00
$(RM) $(DESTDIR)$(PREFIX)/bin/neofetch
$(RM) $(DESTDIR)$(PREFIX)/share/man/man1/neofetch.1
2016-02-28 00:44:45 +00:00
$(RM) -r $(DESTDIR)$(PREFIX)/share/neofetch