diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2018-03-06 21:57:31 -0500 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2018-03-06 21:57:31 -0500 |
commit | 9b3aa05cd4d579d15cf3602e373749b4ed387748 (patch) | |
tree | c13abb7adce6fab4996b93cc86b535e54646f164 /makefile | |
parent | 4c0bdbe7b5a6b8c98d26fbfee601893a7f9a708c (diff) |
Adds makefile and fixes bugs in plug.sh
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/makefile b/makefile new file mode 100644 index 0000000..5656fe7 --- /dev/null +++ b/makefile @@ -0,0 +1,12 @@ +PREFIX ?= /usr/local +BINDIR ?= $(PREFIX)/bin +MANSUB ?= share/man +MANDIR ?= $(PREFIX)/$(MANSUB) + +install: + cp src/plug.sh $(BINDIR)/plug + cp man/plug.1 $(MANDIR)/ + +uninstall: + rm -f $(BINDER)/plug + rm -f $(MANDIR)/plug.1 |