From 0ff38d15e7287bb7db0da5f6014fc27a4f7e5d89 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Fri, 2 Feb 2024 12:36:36 +0000 Subject: [PATCH] docs: support mac --- docs/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index f0fd61d0e2..fb8de440d8 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -25,7 +25,8 @@ setupenv: setup: $(POETRY) install $(POETRY) update - cp -TLr source $(SOURCEDIR) + @if [ ! -d "$(SOURCEDIR)" ]; then mkdir -p "$(SOURCEDIR)"; fi + cp -RL source/* $(SOURCEDIR) python _utils/prepare_sphinx_source.py _source # Clean commands