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-01-17 12:31:02 +00:00
|
|
|
PREFIX = /usr
|
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:
|
2017-01-17 12:31:02 +00:00
|
|
|
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
|
|
|
mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
|
|
|
|
mkdir -p $(DESTDIR)/etc/neofetch
|
|
|
|
mkdir -p $(DESTDIR)$(PREFIX)/share/neofetch/ascii/distro
|
|
|
|
cp -p neofetch $(DESTDIR)$(PREFIX)/bin/neofetch
|
|
|
|
cp -p neofetch.1 $(DESTDIR)$(PREFIX)/share/man/man1/neofetch.1
|
|
|
|
cp -p config/config $(DESTDIR)/etc/neofetch/config
|
|
|
|
cp -p ascii/distro/* $(DESTDIR)$(PREFIX)/share/neofetch/ascii/distro
|
2016-01-30 10:18:30 +00:00
|
|
|
|
|
|
|
uninstall:
|
2017-01-17 12:31:02 +00:00
|
|
|
rm -f $(DESTDIR)$(PREFIX)/bin/neofetch
|
|
|
|
rm -f $(DESTDIR)$(PREFIX)/share/man/man1/neofetch.1
|
|
|
|
rm -f -r $(DESTDIR)$(PREFIX)/share/neofetch
|
|
|
|
rm -f -r $(DESTDIR)/etc/neofetch
|