From c32227f23de420933afa9bde7e9f80f5ccbfab4c Mon Sep 17 00:00:00 2001 From: Victor Häggqvist Date: Tue, 2 Feb 2016 21:31:26 +0100 Subject: makefile --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Makefile 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 -- cgit v1.2.3