From 0ff38d15e7287bb7db0da5f6014fc27a4f7e5d89 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Fri, 2 Feb 2024 12:36:36 +0000 Subject: [PATCH 1/2] 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 From 6f11d339e2b1c0e653524cc0153423dfddd162e9 Mon Sep 17 00:00:00 2001 From: David Garcia Date: Tue, 25 Jun 2024 11:27:10 +0100 Subject: [PATCH 2/2] address comments --- docs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index fb8de440d8..e82269612f 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -25,7 +25,7 @@ setupenv: setup: $(POETRY) install $(POETRY) update - @if [ ! -d "$(SOURCEDIR)" ]; then mkdir -p "$(SOURCEDIR)"; fi + mkdir -p $(SOURCEDIR) cp -RL source/* $(SOURCEDIR) python _utils/prepare_sphinx_source.py _source