Skip to content

Commit

Permalink
DOC: Succeed if there is no profiling support in this version.
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWielemaker committed Jan 9, 2024
1 parent 15f8cfd commit 955d063
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions man/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ set(FIGS broadcast by-sa profnode swipl xrefchatdep xrefchatfile)
# Main files
set(DOC_CORE abstract.tex intro.tex overview.tex builtin.tex module.tex
foreign.tex wasm.tex runtime.tex hack.tex summary.tex xpce.tex glossary.tex
ide.tex license.tex threads.tex engines.tex profile.tex streams.tex
ide.tex license.tex threads.tex engines.tex streams.tex
attvar.tex chr.tex xref.tex bit64.tex dialect.tex extensions.tex ssu.tex
tabling.tex)
if(MULTI_THREADED)
list(APPEND DOC_CORE profile.tex)
endif()

set(STYFILES html.sty txt.sty)

Expand Down Expand Up @@ -212,7 +215,9 @@ pldoc(lib/main.tex "library(main)")
endif()
pldoc(lib/dcgbasics.tex "library(dcg/basics)")
pldoc(lib/dcghighorder.tex "library(dcg/high_order)")
pldoc(libprofile.tex "library(prolog_profile)" --subsection)
if(MULTI_THREADED)
pldoc(libprofile.tex "library(prolog_profile)" --subsection)
endif()

# Check that we do not have both a .doc file and extract from the
# Prolog source
Expand Down
2 changes: 1 addition & 1 deletion man/builtin.doc
Original file line number Diff line number Diff line change
Expand Up @@ -11712,7 +11712,7 @@ core & Same as memory \\
% PROFILER %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input{profile.tex}
\InputIfFileExists{profile.tex}{}{}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down

0 comments on commit 955d063

Please sign in to comment.