revert: makefile changes
This commit is contained in:
parent
ea7e8531e9
commit
552b0dd6bc
1 changed files with 0 additions and 4 deletions
4
Makefile
4
Makefile
|
@ -1,6 +1,5 @@
|
|||
PREFIX ?= /usr
|
||||
MANDIR ?= $(PREFIX)/share/man
|
||||
COMDIR ?= $(PREFIX)/share/bash-completion/completions
|
||||
|
||||
all:
|
||||
@echo Run \'make install\' to install Neofetch.
|
||||
|
@ -8,13 +7,10 @@ all:
|
|||
install:
|
||||
@mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
@mkdir -p $(DESTDIR)$(MANDIR)/man1
|
||||
@mkdir -p $(DESTDIR)$(COMDIR)
|
||||
@cp -p neofetch $(DESTDIR)$(PREFIX)/bin/neofetch
|
||||
@cp -p neofetch.1 $(DESTDIR)$(MANDIR)/man1
|
||||
@cp -p completions/neofetch-completion.bash $(DESTDIR)$(COMDIR)/neofetch
|
||||
@chmod 755 $(DESTDIR)$(PREFIX)/bin/neofetch
|
||||
|
||||
uninstall:
|
||||
@rm -rf $(DESTDIR)$(PREFIX)/bin/neofetch
|
||||
@rm -rf $(DESTDIR)$(MANDIR)/man1/neofetch.1*
|
||||
@rm -rf $(DESTDIR)$(COMDIR)/neofetch
|
||||
|
|
Loading…
Reference in a new issue