only generate config

This commit is contained in:
Willy Kloucek
2021-02-23 12:38:18 +01:00
parent 19cfa326fd
commit 6d397c79f5
2 changed files with 15 additions and 6 deletions

View File

@@ -5,9 +5,13 @@ help:
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: docs-generate
docs-generate: ## run config-docs-generate for all oCIS extensions
docs-generate: ## run docs-generate for all oCIS extensions
@$(MAKE) --no-print-directory -C ../ docs-generate
.PHONY: config-docs-generate
config-docs-generate: ## run config-docs-generate for all oCIS extensions
@$(MAKE) --no-print-directory -C ../ config-docs-generate
.PHONY: docs-copy
docs-copy: ## copy docs to hugo
@mkdir -p hugo/content/
@@ -21,14 +25,13 @@ docs-copy: ## copy docs to hugo
rsync -ax --delete --exclude hugo/ --exclude Makefile --exclude .gitignore --exclude README.md ../. content/; \
.PHONY: docs-serve
docs-serve: docs-generate docs-copy ## serve docs with hugo
docs-serve: docs-generate docs-copy ## serve docs with hugo in docker
@docker run --rm --network host -v $(shell pwd)/hugo:/src owncloudci/hugo:0 server
.PHONY: docs-serve-native
docs-serve-native: docs-copy
.PHONY: docs-serve-simple
docs-serve-simple: config-docs-generate docs-copy ## serve docs with hugo installed on system
cd hugo && hugo server
.PHONY: clean
clean: ## clean up docs build artifacts
@rm -rf hugo