From 79a18749c364e18b07dbeb4f296903aa568e1766 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Tue, 6 Sep 2022 23:51:15 +0700 Subject: all: add task to serve and preview the documentation at _doc --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a17d4e4..c90fee7 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ ## SPDX-FileCopyrightText: 2021 M. Shulhan ## SPDX-License-Identifier: GPL-3.0-or-later -.PHONY: all test build install +.PHONY: all test build install serve-doc VERSION:=$(shell git describe --tags) LDFLAGS:=-ldflags "-s -w -X 'git.sr.ht/~shulhan/gotp.Version=$(VERSION)'" @@ -18,3 +18,6 @@ build: install: build install -m755 _bin/gotp $(GOBIN)/ + +serve-doc: + ciigo serve _doc -- cgit v1.3