mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-30 08:20:27 +03:00
78c7dc95a0
make doc will build all of the above, except for CHM, which needs manual preparation and can be built with make doc-chm. See doc/scripts/README.rst for details. We do our best to ensure to detect the required tools before adding targets, so a build should always succeed. Exception: On Debian and Ubuntu, the following packages are required to build the PDF target (in addition to pdflatex itself, which is autodetected): * texlive-latex-recommended * texlive-latex-extra * texlive-fonts-recommended If pdflatex is present, but those are not, the doc target will fail. Results can be found in $BUILDDIR/doc/$format.
16 lines
280 B
CMake
16 lines
280 B
CMake
find_program(PDFLATEX_EXECUTABLE NAMES pdflatex
|
|
HINTS
|
|
$ENV{PDFLATEX_DIR}
|
|
PATH_SUFFIXES bin
|
|
DOC "PDF LaTeX"
|
|
)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
|
|
find_package_handle_standard_args(PdfLatex DEFAULT_MSG
|
|
PDFLATEX_EXECUTABLE
|
|
)
|
|
|
|
mark_as_advanced(
|
|
PDFLATEX_EXECUTABLE
|
|
)
|