Remove .ONESHELL use for make 3.8.1 compat (macOS)

pull/5070/head
Thomas Stromberg 2019-08-14 07:30:00 -07:00
parent 8c842e61d9
commit 2086f4a17f
1 changed files with 2 additions and 5 deletions

View File

@ -498,13 +498,10 @@ site/themes/docsy/assets/vendor/bootstrap/package.js:
git submodule update -f --init --recursive
# hugo for generating site previews
.ONESHELL:
out/hugo/hugo:
mkdir -p out
cd out
git clone https://github.com/gohugoio/hugo.git
cd hugo
go build --tags extended
test -d out/hugo || git clone https://github.com/gohugoio/hugo.git out/hugo
(cd out/hugo && go build --tags extended)
# Serve the documentation site to localhost
.PHONY: site