On Mon, 14 Nov 2022 at 16:25, Saifi Khan <saifi.khan@xxxxxxxxx> wrote: > > On 2022-11-13 09:29, Jonathan Wakely via Gcc-help wrote: > > > > There is a doc-install-html target in the $target/libstdc++-v3 dir, but > > that will also try to build the main manual as well as the doxygen > > pages. > > > > yes, this seems even better. So, i tried to build the 'doc-install-html' > target > > xsltproc --param toc.section.depth 4 --param generate.consistent.ids 1 > --nonet --xinclude -o > /opt/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/doc/docbook/html/ \ > --stringparam chunker.output.encoding UTF-8 \ > /xhtml/chunk.xsl \ > ../../../../src/libstdc++-v3/doc/xml/spine.xml > warning: failed to load external entity "/xhtml/chunk.xsl" > cannot parse /xhtml/chunk.xsl > make[1]: *** [Makefile:1046: stamp-html-docbook] Error 4 > make[1]: Leaving directory > '/opt/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3/doc' > make: *** [Makefile:784: doc-install-html] Error 2 > make: Leaving directory > '/opt/gcc/build/x86_64-pc-linux-gnu/libstdc++-v3' > > There isn't any 'chunk.xsl' in the entire source tree. > > Am i missing something ? Yes, you're missing a docbook installation. https://gcc.gnu.org/onlinedocs/libstdc++/manual/documentation_hacking.html#doc.docbook