enable makefiles for autogenerated doc

This commit is contained in:
Willy Kloucek
2020-11-12 15:33:28 +01:00
parent 026969bc25
commit f8fc280bd3
8 changed files with 18 additions and 7 deletions

11
docs/Makefile Normal file
View File

@@ -0,0 +1,11 @@
.PHONY: docs-copy
docs-copy:
mkdir -p hugo/content/; \
cd hugo; \
git init; \
git remote rm origin; \
git remote add origin https://github.com/owncloud/owncloud.github.io; \
git fetch --depth=1; \
git checkout origin/source -f; \
rsync -ax --delete --exclude hugo/ --exclude Makefile ../. content/; \