summaryrefslogtreecommitdiff
path: root/util/hugo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'util/hugo/Makefile')
-rw-r--r--util/hugo/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/util/hugo/Makefile b/util/hugo/Makefile
new file mode 100644
index 0000000000..d49c57d7e9
--- /dev/null
+++ b/util/hugo/Makefile
@@ -0,0 +1,13 @@
+.SILENT:
+.PHONY: error public
+
+error:
+ echo please state a valid target
+ exit 1
+
+themes/hugo-material-docs:
+ mkdir -p themes
+ git clone https://github.com/digitalcraftsman/hugo-material-docs.git themes/hugo-material-docs
+
+public: themes/hugo-material-docs
+ docker run --rm -it -v $$PWD:/src -v $$PWD/../../Documentation:/src/content -v /srv/www/vhosts/www.coreboot.org/Documentation:/src/public jguyomard/hugo-builder hugo --forceSyncStatic --cleanDestinationDir