summaryrefslogtreecommitdiff
path: root/util/hugo/Makefile
blob: 9a95536367ce97ef3c29b59bd00844cf926caaf0 (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 -it -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