]> Cypherpunks.ru repositories - gocheese.git/blobdiff - Makefile
Make Texinfo/Info documentation
[gocheese.git] / Makefile
index 3e93e1a6af95ddb4ae926f8d6051c5f5b125cf19..aa71341ccc08320d0c2a2782a9c72c8d886f70d8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,13 @@
+GO ?= go
+MAKEINFO ?= makeinfo
+
 VERSION != cat VERSION
 LDFLAGS = -X main.Version=$(VERSION)
 
+all: gocheese gocheese.info
+
 gocheese: gocheese.go
        GOPATH=$(GOPATH) go build -ldflags "$(LDFLAGS)"
+
+gocheese.info: gocheese.texi
+       $(MAKEINFO) -o $@ gocheese.texi