Lindenii Project Forge
Add a forge(1) man page
# SPDX-License-Identifier: AGPL-3.0-only # SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> .PHONY: clean version.go man source.tar.gz CFLAGS = -Wall -Wextra -Werror -pedantic -std=c99 -D_GNU_SOURCE
MAN_PAGES = forge.5 hookc.1
MAN_PAGES = forge.5 hookc.1 forge.1
forge: source.tar.gz version.go hookc/*.c hookc/hookc man # TODO go build . man: $(MAN_PAGES:%=man/%.html) $(MAN_PAGES:%=man/%.txt) man/%.html: man/% mandoc -Thtml -O style=./mandoc.css $< > $@ man/%.txt: man/% utils/colb mandoc $< | ./utils/colb > $@ utils/colb: utils/colb.c hookc/hookc: version.go: printf 'package main\n\nconst VERSION = "%s"\n' `git describe --tags --always --dirty` > $@ clean: $(RM) forge version.go vendor source.tar.gz: rm -f source.tar.gz go mod vendor git ls-files -z | xargs -0 tar -czf source.tar.gz vendor
.\" SPDX-License-Identifier: AGPL-3.0-only .\" SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> .Dd March 30, 2025 .Dt FORGE 1 .Os Lindenii Forge .Sh NAME .Nm forge .Nd Lindenii Forge server daemon .Sh SYNOPSIS .Nm .Op Fl config Ar path .Sh DESCRIPTION .Nm is the main server daemon for Lindenii Forge. .Pp All configuration is loaded from a configuration file; see .Xr forge 5 . .Pp All listeners are long-lived; the process runs until interrupted. .Sh OPTIONS .Bl -tag -width Ds .It Fl config Ar path The path to the configuration file. Defaults to .Pa /etc/lindenii/forge.scfg . .El .Sh FILES .Bl -tag -width Ds .It Pa /etc/lindenii/forge.scfg Default configuration file. .El .Sh SEE ALSO .Xr forge 5 .Sh AUTHORS .An Runxi Yu Aq Mt https://runxiyu.org .An Test_User Aq Mt hax@runxiyu.org