coreboot-kgpe-d16/util/hugo/Makefile
Patrick Georgi dc5eea1cfa util/hugo: mark source mounts read-only
hugo has no need to write there, it should only write to the
output directory.

Change-Id: Ie320f5017feccfa2e9ecba3c802e040487b44d67
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: https://review.coreboot.org/19929
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2017-05-26 18:36:19 +02:00

13 lines
469 B
Makefile

.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