Skip to content

Commit 0ff38d1

Browse files
committed
docs: support mac
1 parent f45887e commit 0ff38d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ setupenv:
2525
setup:
2626
$(POETRY) install
2727
$(POETRY) update
28-
cp -TLr source $(SOURCEDIR)
28+
@if [ ! -d "$(SOURCEDIR)" ]; then mkdir -p "$(SOURCEDIR)"; fi
29+
cp -RL source/* $(SOURCEDIR)
2930
python _utils/prepare_sphinx_source.py _source
3031

3132
# Clean commands

0 commit comments

Comments
 (0)