Align docs, changelog, release

This commit is contained in:
Michael Barz
2020-02-24 15:15:27 +01:00
parent 178b6ccde3
commit 78029ff8a3
21 changed files with 158 additions and 738 deletions
+18 -2
View File
@@ -3,6 +3,7 @@ NAME := ocis-glauth
IMPORT := github.com/owncloud/$(NAME)
BIN := bin
DIST := dist
HUGO := hugo
ifeq ($(OS), Windows_NT)
EXECUTABLE := $(NAME).exe
@@ -130,9 +131,24 @@ release-check:
.PHONY: release-finish
release-finish: release-copy release-check
.PHONY: docs-copy
docs-copy:
mkdir -p $(HUGO); \
mkdir -p $(HUGO)/content/extensions; \
cd $(HUGO); \
git init; \
git remote rm origin; \
git remote add origin https://github.com/owncloud/owncloud.github.io; \
git fetch; \
git checkout origin/source -f; \
rsync --delete -ax ../docs/ content/extensions/$(NAME)
.PHONY: docs-build
docs-build:
cd $(HUGO); hugo
.PHONY: docs
docs:
cd docs; hugo
docs: docs-copy docs-build
.PHONY: watch
watch: