Le 05/10/2013 20:25, Pierre Labastie a écrit : > Le 05/10/2013 00:10, William Harrington a écrit : >> >> >> I have not had jhalfs die from that edit. Although, how would jhalfs >> implement that? >> >> If the install command has a certain tag for install then it could >> insert make -j 1 for that process. > I have looked at the CLFS book kayout, and not seen any usable tag. In LFS, > there is this "remap" attribute. > Anyway, one could add to command generation (scripts.xsl) something like > <xsl:if 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:if> > This would change any "blah make bleh install" command into > "blah make -j1 bleh install". Actually, if it happens that you have > <userinput>make blih make bleh install</userinput> > > then only the first make would be changed to make -j1. But I think that > construct would be unlikely
Committed (with slight modifications) at r3734. Testers welcome... Regards Pierre -- http://linuxfromscratch.org/mailman/listinfo/alfs-discuss FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page