[jhalfs] 01/02: BLFS: fix "time after make" coming after install

"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sun, 02 Feb 2025 18:32:54 +0000
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository jhalfs.

commit 8127a067a62a697b577c083e830f196be10bcd20
Author: Pierre Labastie <[email protected]>
AuthorDate: Sun Feb 2 19:25:28 2025 +0100

    BLFS: fix "time after make" coming after install
    
    When the user asks to generate statistics for a package, tests are run
    with some statistics. If tests come just after make, we need to include
    "time after make" and "size after make", but if tests come after
    installing to the system, this timing is not necessary (it has been
    done after the destdir install). So don't generate it in this case.
---
 BLFS/xsl/process-install.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BLFS/xsl/process-install.xsl b/BLFS/xsl/process-install.xsl
index 50a2df9..4c36f59 100644
--- a/BLFS/xsl/process-install.xsl
+++ b/BLFS/xsl/process-install.xsl
@@ -240,7 +240,7 @@ echo Size after install: $(sudo du -skx --exclude home $BUILD_DIR) >> $INFOLOG
           </xsl:call-template>
         </xsl:if>
         <xsl:if test="not($test-seen)">
-          <xsl:if test="not($doc-seen)">
+          <xsl:if test="not($doc-seen) and not($root-seen)">
             <xsl:call-template name="end-make">
               <xsl:with-param name="want-stats" select="$want-stats"/>
             </xsl:call-template>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page