diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-09-09 00:40:46 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-09-09 00:40:46 +0200 |
commit | d2e325b4071fd340ea08528407a71c0d9b67d8a0 (patch) | |
tree | df3dc4f6062b088584f923be75a83f7f2f5b9ead | |
parent | ab48baf4fccedc85cf6bd42bcf15179ebb59c737 (diff) |
Add a Makefile
-rw-r--r-- | Makefile | 13 |
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 |