summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2016-02-02 21:31:26 +0100
committerVictor Häggqvist <[email protected]>2016-02-02 21:31:26 +0100
commitc32227f23de420933afa9bde7e9f80f5ccbfab4c (patch)
treefc34881e52f56d134d6e226194c47a6684ccf1fe
parent75eb1e703e218d6af91483540fc4a14f5a8f26f8 (diff)
makefile
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ab16c80
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+SHELL = /bin/bash
+
+all:
+ @echo goboom makefile
+ @echo \"make build\" to build
+
+.PHONY: build
+build:
+ go build goboom.go
+
+.PHONY: package
+package: build
+ tar cf goboom_linux_amd64.tar.xz goboom goboom_run README.rst docs/_build/man/goboom.1
+ sha512sum goboom_linux_amd64.tar.xz > goboom_linux_amd64.tar.xz.sha512sum
+
+.PHONY: html
+html:
+ pushd docs && make html && popd
+
+.PHONY: man
+man:
+ pushd docs && make man && popd