aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-12-27 20:41:09 +0700
committerShulhan <ms@kilabit.info>2025-12-27 20:47:15 +0700
commit5770c17fee881aa73da41648aa325a24d95fa3ea (patch)
treea37962d41f9b74ddb385d9e393f45cbef7337eba /Makefile
parent5fa13d543a6a9527cc94625b2c158ffdb2e8e133 (diff)
downloadlilin-5770c17fee881aa73da41648aa325a24d95fa3ea.tar.xz
all: update the README and annotate some files using REUSE.toml
In the README, we add section on how building the program, the main configuration, and how to monitor the services using configuration. Inside the _www directory, we create doc/ directory that contains symlink to README.md as index.md. This allow us to serve the lilin as page under https://kilabit.info/project/lilin .
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 56bbe5b..f70d28a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-## SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info>
## SPDX-License-Identifier: GPL-3.0-only
+## SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info>
.PHONY: all
all: lint test
@@ -24,3 +24,7 @@ dev.test:
truncate --size=0 testdata/var/log/lilin/service.d/tcp.log
truncate --size=0 testdata/var/log/lilin/service.d/udp.log
go run ./cmd/lilin -dev -basedir=testdata/
+
+.PHONY: serve.docs
+serve.docs:
+ ciigo serve _www/doc