Skip to content

Commit

Permalink
FIX: build name (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgepiloto authored and Revathyvenugopal162 committed Nov 28, 2022
1 parent 1397b1b commit 266e319
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
SPHINXOPTS =
SPHINXBUILD = sphinx-build
SOURCEDIR = source
BUILDDIR = build
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
Expand All @@ -20,11 +20,11 @@ help:

# customized clean due to api examples
clean:
rm -rf build
rm -rf $(BUILDDIR)
find . -type d -name "_autosummary" -exec rm -rf {} +

# customized pdf due to svg issue
pdf:
@$(SPHINXBUILD) -M latex "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
cd build/latex && latexmk -r latexmkrc -pdf *.tex -interaction=nonstopmode || true
(test -f build/latex/ansys_sphinx*.pdf && echo pdf exists) || exit 1
cd $(BUILDDIR)/latex && latexmk -r latexmkrc -pdf *.tex -interaction=nonstopmode || true
(test -f $(BUILDDIR)/latex/ansys_sphinx*.pdf && echo pdf exists) || exit 1
2 changes: 1 addition & 1 deletion doc/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
set BUILDDIR=_build

if "%1" == "" goto help
if "%1" == "pdf" goto pdf
Expand Down

0 comments on commit 266e319

Please sign in to comment.