Skip to content

Variable issue in PDF section for Makefile #397

@klmcadams

Description

@klmcadams

Description of the modifications

Currently:

pdf:
        @$(SPHINXBUILD) -M latex "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
        cd $(BUILDIR)/latex && latexmk -r latexmkrc -pdf *.tex -interaction=nonstopmode || true
        (test -f $(BUILDIR)/latex/*.pdf && echo pdf exists) || exit 1

New suggestion - change BUILDIR in lines 2 and 3 to BUILDDIR

pdf:
        @$(SPHINXBUILD) -M latex "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
        cd $(BUILDDIR)/latex && latexmk -r latexmkrc -pdf *.tex -interaction=nonstopmode || true
        (test -f $(BUILDDIR)/latex/*.pdf && echo pdf exists) || exit 1

Useful links and references

Build PDF Documentation, Makefile tab:

https://dev.docs.pyansys.com/how-to/documenting.html#build-documentation

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions