From 5e8ae5156c72593eb24dd125db32e860f59be820 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Tue, 8 Jan 2019 21:00:42 -0800 Subject: Add scdoc manpage --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7ce9d40..a831cb3 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,6 @@ GO = go +SCDOC = scdoc + pkgs = $(shell $(GO) list ./... | grep -v /vendor/) all: @@ -8,8 +10,15 @@ fmt: $(GO) fmt clean: - rm -f shoelaces + rm -f shoelaces docs/shoelaces.8 + +shoelaces.8: + $(SCDOC) < docs/shoelaces.8.scd > docs/shoelaces.8 + +docs: shoelaces.8 test: fmt $(GO) test -v $(pkgs) && \ ./test/integ-test/integ_test.py + +.PHONY: all clean docs -- cgit v1.2.3