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.
2017-08-20 11:52:26 +01:00
|
|
|
PREFIX ?= /usr
|
|
|
|
MANDIR ?= $(PREFIX)/share/man
|
2017-07-10 12:32:45 +01:00
|
|
|
|
|
|
|
all:
|
|
|
|
@echo Run \'make install\' to install Neofetch.
|
|
|
|
|
|
|
|
install:
|
|
|
|
@echo 'Making directories...'
|
|
|
|
@mkdir -p $(DESTDIR)$(PREFIX)/bin
|
2017-08-20 11:52:26 +01:00
|
|
|
@mkdir -p $(DESTDIR)$(MANDIR)/man1
|
2017-07-10 12:32:45 +01:00
|
|
|
|
|
|
|
@echo 'Installing binaries...'
|
|
|
|
@chmod 755 $(DESTDIR)$(PREFIX)/bin/neofetch
|
|
|
|
|
2018-05-03 06:05:42 +01:00
|
|
|
@echo 'Installing man page...'
|
2017-08-20 11:52:26 +01:00
|
|
|
@cp -p neofetch.1 $(DESTDIR)$(MANDIR)/man1
|
2017-07-10 12:32:45 +01:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
@echo 'Removing files...'
|
|
|
|
@rm -rf $(DESTDIR)$(PREFIX)/bin/neofetch
|
2017-08-20 11:52:26 +01:00
|
|
|
@rm -rf $(DESTDIR)$(MANDIR)/man1/neofetch.1*
|