- Timestamp:
- 01/12/2018 07:04:19 PM (6 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 2e1c1c3
- Parents:
- 5637b53
- Location:
- BLFS/xsl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/xsl/gen_config.xsl
r5637b53 rdc7fd7b 69 69 where wrapInstall is used to set up a LD_PRELOAD library (for 70 70 example using porg), and packInstall makes the package tarball 71 72 config DEL_LA_FILES 73 bool "Remove libtool .la files after package installation" 74 default y 75 help 76 This option should be active on any system mixing libtool 77 and meson build systems. ImageMagick .la files are preserved. 71 78 </xsl:text> 72 79 </xsl:template> -
BLFS/xsl/scripts.xsl
r5637b53 rdc7fd7b 26 26 <xsl:param name="wrap-install" select="'n'"/> 27 27 28 <!-- Remove libtool .la files --> 29 <xsl:param name="del-la-files" select="'y'"/> 30 28 31 <!-- Build as user (y) or as root (n)? --> 29 32 <xsl:param name="sudo" select="'y'"/> 30 33 34 <!-- simple instructions for removing .la files. --> 35 <xsl:variable name="la-files-instr"> 36 37 for libdir in /lib /usr/lib $(find /opt -name lib); do 38 find $libdir -name \*.la ! -path \*ImageMagick\* -delete 39 done 40 41 </xsl:variable> 31 42 <xsl:template match="/"> 32 43 <xsl:apply-templates select="//sect1"/> … … 432 443 <xsl:apply-templates mode="root"/> 433 444 <xsl:if test="not(following-sibling::screen[1][@role='root'])"> 445 <xsl:if test="$del-la-files = 'y' and 446 ancestor::sect2[@role='installation']"> 447 <xsl:call-template name="output-root"> 448 <xsl:with-param name="out-string" select="$la-files-instr"/> 449 </xsl:call-template> 450 </xsl:if> 434 451 <xsl:if test="$wrap-install = 'y' and 435 452 ancestor::sect2[@role='installation']">
Note:
See TracChangeset
for help on using the changeset viewer.