Skip to content

Commit

Permalink
Merge pull request #35 from blaskovic/master
Browse files Browse the repository at this point in the history
Makefile: file permissions, uninstall,..
  • Loading branch information
LuRsT committed Feb 20, 2014
2 parents f962ca5 + 03790fe commit 716abc8
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
PREFIX="/usr/local"
# hr
# <hr /> for your terminal

PREFIX=/usr/local
MANPREFIX=/usr/local

install:
cp hr $(PREFIX)/bin/
mkdir -p $(PREFIX)/man/man1/
cp hr.1 $(PREFIX)/man/man1/
cp hr $(PREFIX)/bin/hr
chmod 755 $(PREFIX)/bin/hr
mkdir -p $(MANPREFIX)/man/man1/
cp hr.1 $(MANPREFIX)/man/man1/hr.1
chmod 644 $(MANPREFIX)/man/man1/hr.1

uninstall:
rm -f $(PREFIX)/bin/hr
rm -f $(MANPREFIX)/man/man1/hr.1

0 comments on commit 716abc8

Please sign in to comment.