This isn't bash, mark it as a shell command.

This commit is contained in:
Simon Quigley 2019-10-17 10:47:44 -05:00
parent bac80b8037
commit e3bf45929b

View File

@ -54,9 +54,9 @@ serverbuild:
#rm -rf ../webroot/pl/
#mv ../webroot/pl.tmp/ ../webroot/pl/
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) /srv/webroot/$(git rev-parse --abbrev-ref HEAD).tmp/
rm -rf /srv/webroot/$(git rev-parse --abbrev-ref HEAD)/
mv /srv/webroot/$(git rev-parse --abbrev-ref HEAD).tmp/ /srv/webroot/$(git rev-parse --abbrev-ref HEAD)/
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) /srv/webroot/$(shell git rev-parse --abbrev-ref HEAD).tmp/
rm -rf /srv/webroot/$(shell git rev-parse --abbrev-ref HEAD)/
mv /srv/webroot/$(shell git rev-parse --abbrev-ref HEAD).tmp/ /srv/webroot/$(shell git rev-parse --abbrev-ref HEAD)/
.PHONY: clean
clean: