r3734 - jhalfs/trunk/CLFS

pierre at higgs.linuxfromscratch.org pierre at higgs.linuxfromscratch.org
Sun Oct 6 01:59:23 PDT 2013


Author: pierre
Date: Sun Oct  6 01:59:23 2013
New Revision: 3734

Log:
Add -j1 to "make install" in CLFS

Modified:
   jhalfs/trunk/CLFS/clfs.xsl

Modified: jhalfs/trunk/CLFS/clfs.xsl
==============================================================================
--- jhalfs/trunk/CLFS/clfs.xsl	Sat Oct  5 10:52:45 2013	(r3733)
+++ jhalfs/trunk/CLFS/clfs.xsl	Sun Oct  6 01:59:23 2013	(r3734)
@@ -270,6 +270,14 @@
         <xsl:apply-templates/>
         <xsl:text> || true&#xA;</xsl:text>
       </xsl:when>
+      <!-- Add -j1 to make install commands -->
+      <xsl:when test="contains(string(),'make ') and
+                      contains(string(),'install')">
+        <xsl:value-of select="substring-before(string(),'make ')"/>
+        <xsl:text>make -j1 </xsl:text>
+        <xsl:value-of select="substring-after(string(),'make ')"/>
+        <xsl:text>&#xA;</xsl:text>
+      </xsl:when>
       <!-- The rest of commands -->
       <xsl:otherwise>
         <xsl:apply-templates/>



More information about the alfs-log mailing list