From 9b3aa05cd4d579d15cf3602e373749b4ed387748 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Tue, 6 Mar 2018 21:57:31 -0500 Subject: Adds makefile and fixes bugs in plug.sh --- makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 makefile (limited to 'makefile') 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 -- cgit v1.1