From d2e325b4071fd340ea08528407a71c0d9b67d8a0 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 9 Sep 2023 00:40:46 +0200 Subject: Add a Makefile --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile 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 -- cgit v1.2.3