3110 Add generated notebooks folder to makefile clean command
This commit is contained in:
@@ -8,16 +8,18 @@ SOURCEDIR = .
|
|||||||
BUILDDIR = _build
|
BUILDDIR = _build
|
||||||
|
|
||||||
AUTOSUMMARY="source/_autosummary"
|
AUTOSUMMARY="source/_autosummary"
|
||||||
|
NOTEBOOKS="source/notebooks/notebooks"
|
||||||
|
|
||||||
# Remove command is different depending on OS
|
# Remove command is different depending on OS
|
||||||
ifdef OS
|
ifdef OS
|
||||||
RM = IF exist $(AUTOSUMMARY) ( RMDIR $(AUTOSUMMARY) /s /q )
|
RM = IF exist $(AUTOSUMMARY) (RMDIR $(AUTOSUMMARY) /s /q) & IF exist $(NOTEBOOKS) (RMDIR $(NOTEBOOKS) /s /q)
|
||||||
else
|
else
|
||||||
ifeq ($(shell uname), Linux)
|
ifeq ($(shell uname), Linux)
|
||||||
RM = rm -rf $(AUTOSUMMARY)
|
RM = rm -rf $(AUTOSUMMARY) $(NOTEBOOKS)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
# Put it first so that "make" without argument is like "make help".
|
# Put it first so that "make" without argument is like "make help".
|
||||||
help:
|
help:
|
||||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
|
|||||||
Reference in New Issue
Block a user