aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a704fa0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+PREFIX = /usr/local
+DPREFIX = ${DESTDIR}/${PREFIX}
+
+target = gsp
+
+all: ${target}
+gsp:
+ go build
+
+install:
+ mkdir -p ${DPREFIX}/bin ${DPREFIX}/share/man/man1
+ cp ${target} ${DPREFIX}/bin
+ cp ${target}.1 ${DPREFIX}/share/man/man1