generate reference documentation

Signed-off-by: Christian Goll <cgoll@suse.de>
This commit is contained in:
Christian Goll
2023-03-02 12:18:59 +01:00
parent ee7bc75bd7
commit fa78d582eb
7 changed files with 55 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ export GOPROXY
WW_GO_BUILD_TAGS := containers_image_openpgp containers_image_ostree
# Default target
all: config vendor wwctl wwclient man_pages config_defaults print_defaults wwapid wwapic wwapird print_mnts
all: config vendor wwctl wwclient man_pages config_defaults print_defaults wwapid wwapic wwapird
# Validate source and build all packages
build: lint test-it vet all
@@ -255,6 +255,12 @@ dist: vendor config
cd .dist; tar -czf ../$(WAREWULF)-$(VERSION).tar.gz $(WAREWULF)-$(VERSION)
rm -rf .dist
reference: wwctl
./wwctl genconfig reference userdocs/reference/
latexpdf: reference
make -C userdocs latexpdf
## wwapi generate code from protobuf. Requires protoc and protoc-grpc-gen-gateway to generate code.
## To setup latest protoc:
## Download the protobuf-all-[VERSION].tar.gz from https://github.com/protocolbuffers/protobuf/releases