On Thu, Mar 16, 2023 at 10:00 AM Vincent Delecroix
<
20100.d...@gmail.com> wrote:
>
> Dear all,
>
> I would like to compile sage without the documentation. According to
> ./configure --help I supposed the following would just work
>
> ./configure --with-sage_docbuild=no --with-pplpy_doc=no
> --with-sagemath_doc_html=no --with-sagemath_doc_pdf=no
this is outdated: have a look at
% ./configure -h | grep doc
--infodir=DIR info documentation [DATAROOTDIR/info]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/sage]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]
--disable-doc disable build of the Sage documentation and packages
for manipulating documents based on data
documentation reader
--enable-pandoc_attributes={no|if_installed (default)|yes}
enable build and use of the optional package
pandoc_attributes: A parser
and generator for pandoc block attributes
* package info: ./sage -info pandoc_attributes
--disable-pandoc_attributes
same as --enable-pandoc_attributes=no
--enable-sagemath_doc_pdf={no|if_installed (default)|yes}
enable build and use of the optional package
sagemath_doc_pdf: SageMath
documentation in PDF format
* package info: ./sage -info sagemath_doc_pdf
--disable-sagemath_doc_pdf
same as --enable-sagemath_doc_pdf=no
Mathematics Software: IPython kernel, Sage
preparser, doctester
--with-system-pandoc={no|yes (default)|force (exit with an error if
no usable version is found)}
detect and use an existing system pandoc
So it seems that you'd like --disable-doc option.
>
> But I got
>
> configure: WARNING: unrecognized options: --with-sage-docbuild,
> --with-pplpy-doc, --with-sagemath-doc-html, --with-sagemath-doc-pdf
>
> Best
> Vincent
>
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sage-devel+...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-devel/CAGEwAAnwvcG%3D4Ntk4%3DMrA2G3rj4xhfCOL24pHC%3DMjJJPJ7_w%3DQ%40mail.gmail.com.