summaryrefslogtreecommitdiff
path: root/util/hugo/Makefile
blob: d76c00ac0b4589fbb67fe2acdea3eb6a1307bb81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 -v $$PWD:/src:ro -v $$PWD/../../Documentation:/src/content:ro -v /srv/www/vhosts/www.coreboot.org/Documentation:/src/public jguyomard/hugo-builder hugo --forceSyncStatic --cleanDestinationDir