Skip to content

Commit

Permalink
general: Add back Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed May 4, 2018
1 parent a46e43a commit e4d3ad1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
PREFIX ?= /usr
MANDIR ?= $(PREFIX)/share/man

all:
@echo Run \'make install\' to install Neofetch.

install:
@mkdir -p $(DESTDIR)$(PREFIX)/bin
@mkdir -p $(DESTDIR)$(MANDIR)/man1
@cp -p neofetch $(DESTDIR)$(PREFIX)/bin/neofetch
@cp -p neofetch.1 $(DESTDIR)$(MANDIR)/man1
@chmod 755 $(DESTDIR)$(PREFIX)/bin/neofetch

uninstall:
@rm -rf $(DESTDIR)$(PREFIX)/bin/neofetch
@rm -rf $(DESTDIR)$(MANDIR)/man1/neofetch.1*

0 comments on commit e4d3ad1

Please sign in to comment.