- Timestamp:
- 10/21/2023 07:50:29 PM (12 months ago)
- Branches:
- ablfs-more, trunk
- Children:
- 816fa9f5
- Parents:
- ddb0feb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/xsl/make_book.xsl
rddb0feb rbacbb07 705 705 706 706 <xsl:template name="inst-instr"> 707 <!-- This template is necessary because of the "kapidox" case in kf5: 708 Normally, the general instructions extract the package and change 709 to the extracted dir for running the installation instructions. 710 When installing a sub-package of a compound package, the installation 711 instructions to be run are located between a pushd and a popd, 712 *except* for kf5, where a popd occurs inside a case for kapidox... 713 So we call this template with a "inst-instr" string that contains 714 everything after the pushd.--> 707 715 <xsl:param name="inst-instr"/> 708 716 <xsl:param name="package"/> 709 717 <xsl:choose> 718 <!-- first the case of kf5: there are two "popd"--> 710 719 <xsl:when test="contains(substring-after($inst-instr,'popd'),'popd')"> 711 720 <xsl:choose> 712 721 <xsl:when test="$package='kapidox'"> 722 <!-- only the instructions inside the "case" and before popd --> 713 723 <xsl:copy-of select="substring-after(substring-before($inst-instr,'popd'),'kapidox)')"/> 714 724 </xsl:when> 715 725 <xsl:otherwise> 716 < xsl:copy-of select="substring-before($inst-instr,'kapidox)')"/>726 <!-- all what is after the esac --> 717 727 <xsl:call-template name="inst-instr"> 718 <xsl:with-param name="inst-instr" 719 select="substring-after($inst-instr,';;')"/> 728 <xsl:with-param 729 name="inst-instr" 730 select="substring-after($inst-instr,'esac
')"/> 720 731 </xsl:call-template> 721 732 </xsl:otherwise> … … 723 734 </xsl:when> 724 735 <xsl:otherwise> 736 <!-- normal case: everything that is before popd --> 725 737 <xsl:copy-of select="substring-before($inst-instr,'popd')"/> 726 738 </xsl:otherwise>
Note:
See TracChangeset
for help on using the changeset viewer.