Changeset 25b52e2 for common/common-functions
- Timestamp:
- 05/18/2006 06:44:10 PM (18 years ago)
- Branches:
- experimental
- Children:
- f8615e5
- Parents:
- 3a27393
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
r3a27393 r25b52e2 54 54 use VER version of the book as the system to build. 55 55 Supported versions are: dev*, trunk, SVN 56 These are aliases for the Development version of {C,H ,B}LFS56 These are aliases for the Development version of {C,H}LFS 57 57 58 58 ${BOLD} -D --directory DIR${OFF} … … 69 69 Optimize [0-2] 70 70 0 = no optimization 71 1 = optimize chapter06only72 2 = optimize both chapter05 and chapter0671 1 = optimize final system only 72 2 = optimize both temporary tools and final system 73 73 Edit common/opt_config{,.d/*} and common/opt_override as desired. 74 74 … … 80 80 3 = all temporary tools and final system testsuites 81 81 In CLFS, 3 is an alias to 2 82 In BLFS, 1, 2, and 3 are equivalents and means that the testsuites83 will be run.84 82 85 83 ${BOLD} -W, --working-copy DIR${OFF} 86 84 use the local working copy placed in DIR as the $(echo $PROGNAME | tr [a-z] [A-Z]) book 87 -EOF-88 89 [[ ${PROGNAME} != "blfs" ]] &&90 cat <<- -EOF-91 85 92 86 ${BOLD} -C, --comparasion TYPE${OFF} … … 142 136 -EOF- 143 137 144 [[ ${PROGNAME} = "blfs" ]] &&145 cat <<- -EOF-146 147 ${BOLD} --dependencies 0/1/2${OFF}148 add dependencies of type TYPE to the build tree.149 If not set, both required and recommended are used.150 151 Possible values are:152 0 - required only required dependecies are used153 1 - recommended both required a recommended dependencies are used154 2 - optional all dependencies are used155 -EOF-156 157 138 cat <<- -EOF- 158 139 ${DD_BORDER} … … 195 176 help="${nl_}Try '$0 --help' for more information." 196 177 197 198 178 exit_missing_arg="\ 199 179 echo \"Option '\$1' requires an argument\" >&2 200 180 echo \"\$help\" >&2 201 181 exit 1" 202 203 no_dl_client="\204 echo \"Could not find a way to download the ${BOLD}$(echo $PROGNAME | tr [a-z] [A-Z])${OFF} sources.\" >&2205 echo \"Attempting to continue.\" >&2"206 182 207 183 HEADER="# This file is automatically generated by jhalfs-X … … 494 470 hlfs) svn_root="HLFS" ;; 495 471 clfs) svn_root="cross-lfs" ;; 496 blfs) svn_root="BLFS" ;;497 472 *) echo "BOOK not defined in function <get_book>" 498 473 exit 1 ;; … … 595 570 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1 596 571 ;; 597 blfs)598 echo -n " ${L_arrow}${BOLD}BLFS${R_arrow} build"599 xsltproc --nonet \600 --xinclude \601 --stringparam testsuite $TEST \602 --stringparam server $SERVER \603 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1604 ;;605 572 *) exit 1 ;; 606 573 esac … … 613 580 # Create the packages file. We need it for proper Makefile creation 614 581 rm -f packages 615 if [[ "${PROGNAME}" != "blfs" ]] ; then 616 echo -n "Creating <${PROGNAME}> specific packages file" 617 grep "\-version " $BOOK/packages.ent | sed -e 's@<!ENTITY @@' \ 618 -e 's@">@"@' > packages 619 echo " ...OK" 620 fi 582 echo -n "Creating <${PROGNAME}> specific packages file" 583 grep "\-version " $BOOK/packages.ent | sed -e 's@<!ENTITY @@' \ 584 -e 's@">@"@' > packages 585 echo " ...OK" 621 586 622 587 # Done. Moving on...
Note:
See TracChangeset
for help on using the changeset viewer.