aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-09 00:40:46 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-09 00:40:46 +0200
commitd2e325b4071fd340ea08528407a71c0d9b67d8a0 (patch)
treedf3dc4f6062b088584f923be75a83f7f2f5b9ead
parentab48baf4fccedc85cf6bd42bcf15179ebb59c737 (diff)
Add a Makefile
-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