Misc: Removed Makefile and added install script
This commit is contained in:
parent
e383e6dfa4
commit
96103a757f
3 changed files with 39 additions and 50 deletions
20
Makefile
20
Makefile
|
@ -1,20 +0,0 @@
|
|||
PREFIX = /usr
|
||||
|
||||
all:
|
||||
@echo Run \'make install\' to install Neofetch
|
||||
|
||||
install:
|
||||
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
|
||||
|
||||
uninstall:
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue