- Timestamp:
- 01/12/2018 07:04:19 PM (6 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 2e1c1c3
- Parents:
- 5637b53
- Location:
- BLFS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/gen_pkg_book.sh
r5637b53 rdc7fd7b 51 51 MAIL_SERVER=* | \ 52 52 WRAP_INSTALL=* | \ 53 DEL_LA_FILES=* | \ 53 54 SUDO=* ) eval ${REPLY} # Define/set a global variable.. 54 55 continue ;; … … 70 71 SUDO=${SUDO:-n} 71 72 WRAP_INSTALL=${WRAP_INSTALL:-n} 73 DEL_LA_FILES=${DEL_LA_FILES:-n} 72 74 } 73 75 … … 76 78 #--------------------------# 77 79 local -r dotSTR=".................." 78 local -r PARAM_LIST="DEP_LEVEL SUDO MAIL_SERVER WRAP_INSTALL "80 local -r PARAM_LIST="DEP_LEVEL SUDO MAIL_SERVER WRAP_INSTALL DEL_LA_FILES" 79 81 local -r PARAM_VALS='${config_param}${dotSTR:${#config_param}} ${L_arrow}${BOLD}${!config_param}${OFF}${R_arrow}' 80 82 local config_param … … 190 192 --stringparam sudo "$SUDO" \ 191 193 --stringparam wrap-install "$WRAP_INSTALL" \ 194 --stringparam del-la-files "$DEL_LA_FILES" \ 192 195 -o ./scripts/ ${MakeScripts} \ 193 196 ${BookXml} -
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.