From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from s411.sureserver.com (s411.sureserver.com [192.252.151.33]) by sourceware.org (Postfix) with ESMTPS id E4004385843A for ; Sun, 13 Nov 2022 09:10:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E4004385843A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=nishan.io Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nishan.io DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=nishan.io; h= mime-version:date:from:to:subject:reply-to:in-reply-to :references:message-id:content-type:content-transfer-encoding; s=dkim; bh=RHBaaAU1jqcs9M+iiAi/3RnS+qFoMDnBz9O3xzgOa2c=; b=aj5r 0fA1XJxPLDoGU4OlewEuVrYGTFEkyjUlcnTMYWRzbg/rs23Oz5mZyT/3M51ppNdS BJ2Yho6qUXm2RgnYI4Zl/EUBqeaEtSC4FaKfM2Ehd/Vo7mebz1fHEvFqcyo9JTop RJFzZ57BOUqNuhHxL2lmbTtFSi3JpDzLG294Uzw= Received: (qmail 4794 invoked by uid 504); 13 Nov 2022 09:10:42 -0000 Received: from unknown (HELO mbox.nishan.io) (saifi.khan@nishan.1665716947.19903.user@127.0.0.1) by 127.100.1.1 with ESMTPA; 13 Nov 2022 09:10:42 -0000 MIME-Version: 1.0 Date: Sun, 13 Nov 2022 09:10:41 +0000 From: Saifi Khan To: gcc-help@gcc.gnu.org Subject: Re: top-level build target that triggers 'make doc-html-doxygen' Reply-To: saifi.khan@nishan.io Mail-Reply-To: saifi.khan@nishan.io In-Reply-To: References: User-Agent: Roundcube Webmail Message-ID: <0c19c7b6ff9e933532c5ed5630d2527a@nishan.io> X-Sender: saifi.khan@nishan.io Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2022-11-13 08:29, Jonathan Wakely via Gcc-help wrote: > On Sun, 13 Nov 2022 at 07:29, Saifi Khan wrote: >> >> Does anyone know what is the top-level Makefile build target that >> triggers 'make doc-html-doxygen' in libstdc++ ? >> > make -C */libstdc++-v3 doc-html-doxygen will work > Thanks for your reply Jonathan. Since, i am doing a 'out-of-source-tree' build, the layout looks like this /opt/gcc ├── build └── src Given the layout, the build/b02.sh (configure script) is as follows DIR_SRC=/opt/gcc/src DIR_DST=/opt/gcc DIR_ISL=/opt/isl CFLAGS="-O2 -pipe" CXXFLAGS="${CFLAGS}" ${DIR_SRC}/configure \ --prefix=${DIR_DST} \ --exec-prefix=${DIR_DST} \ --datarootdir=${DIR_DST}/doc/share \ --datadir=${DIR_DST}/doc \ --docdir=${DIR_DST}/doc \ --htmldir=${DIR_DST}/doc \ --mandir=${DIR_DST}/doc/man \ --infodir=${DIR_DST}/doc/info \ --with-isl=${DIR_ISL} \ --enable-languages=c,jit,c++ \ --enable-bootstrap \ Post build/b04.sh ie. 'make -j4', there is one directory created for libstdc++ build/x86_64-pc-linux-gnu/libstdc++-v3 Now, if i execute the command that you suggested, the doxygen html build goes through (which is what i was did prior to posting on gcc-help). Unfortunately, on executing build/b08.sh script file ie. 'make install' errors out ! That leaves only one option and that first perform 'make install' and then 'make -C */libstdc++-v3 doc-html-doxygen'. Does that seem like a sensible thing to do ? In addition, i observed that the html documentation for the various lib* also doesn't get copied as part of 'make install', wich means that a custom script will be required to recursively copy the 'html' directories from all 'lib*' including 'libstdc++-v3'. Is that how the online gcc docs are getting updated ? warm regards Saifi.