diff options
| author | Shulhan <ms@kilabit.info> | 2022-09-06 23:51:15 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-09-06 23:51:15 +0700 |
| commit | 79a18749c364e18b07dbeb4f296903aa568e1766 (patch) | |
| tree | 018a40223312b629ddeb6952fb757a865a42d792 | |
| parent | e14c7ccc5f0e41a862cb7420d2ed259f66957840 (diff) | |
| download | gotp-79a18749c364e18b07dbeb4f296903aa568e1766.tar.xz | |
all: add task to serve and preview the documentation at _doc
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,7 @@ ## SPDX-FileCopyrightText: 2021 M. Shulhan <ms@kilabit.info> ## 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 |
