[0170229] | 1 | #!/bin/bash
|
---|
[12a5707] | 2 | # $Id$
|
---|
[0170229] | 3 | set -e
|
---|
| 4 |
|
---|
| 5 |
|
---|
| 6 | #>>>>>>>>>>>>>>>ERROR TRAPPING >>>>>>>>>>>>>>>>>>>>
|
---|
| 7 | #-----------------------#
|
---|
| 8 | simple_error() { # Basic error trap.... JUST DIE
|
---|
| 9 | #-----------------------#
|
---|
| 10 | # If +e then disable text output
|
---|
| 11 | if [[ "$-" =~ "e" ]]; then
|
---|
| 12 | echo -e "\n${RED}ERROR:${GREEN} basic error trapped!${OFF}\n" >&2
|
---|
| 13 | fi
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | see_ya() {
|
---|
[d95b8f2] | 17 | echo -e "\n\t${BOLD}Goodbye and thank you for choosing ${L_arrow}JHALFS-X${R_arrow}\n"
|
---|
[0170229] | 18 | }
|
---|
| 19 | ##### Simple error TRAPS
|
---|
| 20 | # ctrl-c SIGINT
|
---|
| 21 | # ctrl-y
|
---|
| 22 | # ctrl-z SIGTSTP
|
---|
| 23 | # SIGHUP 1 HANGUP
|
---|
| 24 | # SIGINT 2 INTRERRUPT FROM KEYBOARD Ctrl-C
|
---|
| 25 | # SIGQUIT 3
|
---|
| 26 | # SIGKILL 9 KILL
|
---|
| 27 | # SIGTERM 15 TERMINATION
|
---|
| 28 | # SIGSTOP 17,18,23 STOP THE PROCESS
|
---|
| 29 | #####
|
---|
| 30 | set -e
|
---|
| 31 | trap see_ya 0
|
---|
| 32 | trap simple_error ERR
|
---|
| 33 | trap 'echo -e "\n\n${RED}INTERRUPT${OFF} trapped\n" && exit 2' 1 2 3 15 17 18 23
|
---|
| 34 | #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
---|
| 35 |
|
---|
| 36 |
|
---|
| 37 | if [ ! -L $0 ] ; then
|
---|
| 38 | echo "${nl_}${tab_}${BOLD}${RED}This script cannot be called directly: EXITING ${OFF}${nl_}"
|
---|
| 39 | exit 1
|
---|
| 40 | fi
|
---|
| 41 |
|
---|
[12a5707] | 42 | PROGNAME=$(basename $0)
|
---|
| 43 | COMMON_DIR="common"
|
---|
| 44 | PACKAGE_DIR=$(echo $PROGNAME | tr [a-z] [A-Z])
|
---|
| 45 | MODULE=$PACKAGE_DIR/master.sh
|
---|
| 46 | MODULE_CONFIG=$PACKAGE_DIR/config
|
---|
| 47 |
|
---|
| 48 | echo -n "Loading common-functions module..."
|
---|
| 49 | source $COMMON_DIR/common-functions
|
---|
| 50 | [[ $? > 0 ]] && echo " $COMMON_DIR/common-functions did not load.." && exit
|
---|
| 51 | echo "OK"
|
---|
| 52 | #
|
---|
| 53 |
|
---|
| 54 | echo -n "Loading masterscript conf..."
|
---|
| 55 | source $COMMON_DIR/config
|
---|
[13e816f] | 56 | [[ $? > 0 ]] && echo "$COMMON_DIR/conf did not load.." && exit
|
---|
[0170229] | 57 | echo "OK"
|
---|
| 58 | #
|
---|
| 59 | echo -n "Loading config module <$MODULE_CONFIG>..."
|
---|
| 60 | source $MODULE_CONFIG
|
---|
| 61 | [[ $? > 0 ]] && echo "$MODULE_CONFIG did not load.." && exit 1
|
---|
| 62 | echo "OK"
|
---|
| 63 | #
|
---|
| 64 | echo -n "Loading code module <$MODULE>..."
|
---|
| 65 | source $MODULE
|
---|
[12a5707] | 66 | [[ $? > 0 ]] && echo "$MODULE did not load.." && exit 2
|
---|
[0170229] | 67 | echo "OK"
|
---|
| 68 | #
|
---|
| 69 | echo "---------------${nl_}"
|
---|
| 70 |
|
---|
| 71 |
|
---|
| 72 | #===========================================================
|
---|
| 73 | # If the var BOOK contains something then, maybe, it points
|
---|
| 74 | # to a working doc.. set WC=1, else 'null'
|
---|
| 75 | #===========================================================
|
---|
| 76 | WC=${BOOK:+1}
|
---|
| 77 | #===========================================================
|
---|
| 78 |
|
---|
| 79 |
|
---|
| 80 | #*******************************************************************#
|
---|
[12a5707] | 81 | echo -n "Loading function <func_check_version.sh>..."
|
---|
| 82 | source $COMMON_DIR/func_check_version.sh
|
---|
| 83 | [[ $? > 0 ]] && echo " function module did not load.." && exit 2
|
---|
| 84 | echo "OK"
|
---|
[0170229] | 85 |
|
---|
[12a5707] | 86 | echo -n "Loading function <func_validate_configs.sh>..."
|
---|
| 87 | source $COMMON_DIR/func_validate_configs.sh
|
---|
| 88 | [[ $? > 0 ]] && echo " function module did not load.." && exit 2
|
---|
| 89 | echo "OK"
|
---|
| 90 | echo "---------------${nl_}"
|
---|
[0170229] | 91 |
|
---|
| 92 |
|
---|
| 93 | ###################################
|
---|
| 94 | ### MAIN ###
|
---|
| 95 | ###################################
|
---|
| 96 |
|
---|
| 97 | # Evaluate any command line switches
|
---|
| 98 |
|
---|
| 99 | while test $# -gt 0 ; do
|
---|
| 100 | case $1 in
|
---|
[40ccddf] | 101 | # Common options for all books
|
---|
[5627958] | 102 | --book | -B )
|
---|
[0170229] | 103 | test $# = 1 && eval "$exit_missing_arg"
|
---|
| 104 | shift
|
---|
| 105 | case $1 in
|
---|
| 106 | dev* | SVN | trunk )
|
---|
| 107 | LFSVRS=development
|
---|
| 108 | ;;
|
---|
[5627958] | 109 | *) if [[ "$PROGNAME" = "lfs" ]]; then
|
---|
| 110 | case $1 in
|
---|
[d95b8f2] | 111 | 6.1.1 )
|
---|
| 112 | echo "For stable 6.1.1 book, please use jhalfs-0.2."
|
---|
| 113 | exit 0
|
---|
| 114 | ;;
|
---|
| 115 | alpha*) LFSVRS=alphabetical ;;
|
---|
| 116 | udev*) LFSVRS=udev_update ;;
|
---|
| 117 | * ) echo "$1 is an unsupported version at this time." ;;
|
---|
[5627958] | 118 | esac
|
---|
| 119 | else
|
---|
| 120 | echo "The requested version, ${L_arrow} ${BOLD}$1${OFF} ${R_arrow}, is undefined in the ${BOLD}$(echo $PROGNAME | tr [a-z] [A-Z])${OFF} series."
|
---|
[d95b8f2] | 121 | exit 0
|
---|
| 122 | fi
|
---|
[0170229] | 123 | ;;
|
---|
| 124 | esac
|
---|
| 125 | ;;
|
---|
| 126 |
|
---|
[c16cedc] | 127 | --directory | -D )
|
---|
[0170229] | 128 | test $# = 1 && eval "$exit_missing_arg"
|
---|
| 129 | shift
|
---|
[e95c26c] | 130 | case $1 in
|
---|
| 131 | -* )
|
---|
[ea29b1f] | 132 | echo -e "\n$1 isn't a valid build directory."
|
---|
[e95c26c] | 133 | echo -e "Directory names can't start with - .\n"
|
---|
| 134 | exit 1
|
---|
| 135 | ;;
|
---|
| 136 | * )
|
---|
| 137 | BUILDDIR=$1
|
---|
| 138 | JHALFSDIR=$BUILDDIR/jhalfs
|
---|
| 139 | LOGDIR=$JHALFSDIR/logs
|
---|
| 140 | MKFILE=$JHALFSDIR/Makefile
|
---|
| 141 | ;;
|
---|
| 142 | esac
|
---|
[0170229] | 143 | ;;
|
---|
| 144 |
|
---|
[c16cedc] | 145 | --get-packages | -G ) HPKG=1 ;;
|
---|
| 146 |
|
---|
[e794f06] | 147 | --help | -h ) usage ;;
|
---|
[c16cedc] | 148 |
|
---|
| 149 | --testsuites | -T )
|
---|
| 150 | test $# = 1 && eval "$exit_missing_arg"
|
---|
| 151 | shift
|
---|
| 152 | case $1 in
|
---|
| 153 | 0 | 1 | 2 | 3 )
|
---|
| 154 | TEST=$1
|
---|
| 155 | ;;
|
---|
| 156 | * )
|
---|
| 157 | echo -e "\n$1 isn't a valid testsuites level value."
|
---|
| 158 | echo -e "You must to use 0, 1, 2, or 3.\n"
|
---|
| 159 | exit 1
|
---|
| 160 | ;;
|
---|
| 161 | esac
|
---|
| 162 | ;;
|
---|
| 163 |
|
---|
| 164 | --version | -V )
|
---|
| 165 | clear
|
---|
| 166 | echo "$version"
|
---|
| 167 | exit 0
|
---|
| 168 | ;;
|
---|
| 169 |
|
---|
[0170229] | 170 | --working-copy | -W )
|
---|
| 171 | test $# = 1 && eval "$exit_missing_arg"
|
---|
| 172 | shift
|
---|
[5627958] | 173 | case $PROGNAME in # Poor checks. We should find better ones.
|
---|
| 174 | lfs)
|
---|
| 175 | if [ -f $1/patches.ent ] ; then
|
---|
| 176 | WC=1
|
---|
| 177 | BOOK=$1
|
---|
| 178 | else
|
---|
| 179 | echo -e "\nLook like $1 isn't a LFS working copy."
|
---|
| 180 | exit 1
|
---|
| 181 | fi
|
---|
| 182 | ;;
|
---|
| 183 | clfs)
|
---|
| 184 | if [ -f $1/patches.ent ] && [ -f $1/packages.ent ]; then
|
---|
| 185 | WC=1
|
---|
| 186 | BOOK=$1
|
---|
| 187 | else
|
---|
| 188 | echo -e "\nLook like $1 isn't a CLFS working copy."
|
---|
| 189 | exit 1
|
---|
| 190 | fi
|
---|
| 191 | ;;
|
---|
| 192 | hlfs)
|
---|
| 193 | if [ -f $1/template.xml ] ; then
|
---|
| 194 | WC=1
|
---|
| 195 | BOOK=$1
|
---|
| 196 | else
|
---|
| 197 | echo -e "\nLook like $1 isn't a HLFS working copy."
|
---|
| 198 | exit 1
|
---|
| 199 | fi
|
---|
| 200 | ;;
|
---|
| 201 | blfs)
|
---|
| 202 | if [ -f $1/use-unzip.xml ] ; then
|
---|
| 203 | WC=1
|
---|
| 204 | BOOK=$1
|
---|
| 205 | else
|
---|
| 206 | echo -e "\nLook like $1 isn't a BLFS working copy."
|
---|
| 207 | exit 1
|
---|
| 208 | fi
|
---|
| 209 | ;;
|
---|
[4532c37] | 210 | esac
|
---|
| 211 | ;;
|
---|
[0170229] | 212 |
|
---|
[40ccddf] | 213 | # Common options for LFS, CLFS and HLFS
|
---|
| 214 | --fstab | -F )
|
---|
| 215 | test $# = 1 && eval "$exit_missing_arg"
|
---|
| 216 | shift
|
---|
| 217 | if [ -f $1 ] ; then
|
---|
| 218 | FSTAB=$1
|
---|
| 219 | else
|
---|
| 220 | echo -e "\nFile $1 not found. Verify your command line.\n"
|
---|
| 221 | exit 1
|
---|
| 222 | fi
|
---|
| 223 | ;;
|
---|
| 224 |
|
---|
| 225 | --kernel-config | -K )
|
---|
| 226 | test $# = 1 && eval "$exit_missing_arg"
|
---|
| 227 | shift
|
---|
| 228 | if [ -f $1 ] ; then
|
---|
| 229 | CONFIG=$1
|
---|
| 230 | else
|
---|
| 231 | echo -e "\nFile $1 not found. Verify your command line.\n"
|
---|
| 232 | exit 1
|
---|
| 233 | fi
|
---|
| 234 | ;;
|
---|
| 235 |
|
---|
[bd99331] | 236 | --make | -M ) RUNMAKE=1 ;;
|
---|
[40ccddf] | 237 |
|
---|
| 238 | --rebuild | -R ) CLEAN=1 ;;
|
---|
| 239 |
|
---|
[bd99331] | 240 | # CLFS options
|
---|
| 241 | --arch | -A )
|
---|
| 242 | test $# = 1 && eval "$exit_missing_arg"
|
---|
| 243 | shift
|
---|
| 244 | case $1 in
|
---|
| 245 | x86 )
|
---|
| 246 | ARCH=x86
|
---|
| 247 | TARGET="i686-pc-linux-gnu"
|
---|
| 248 | ;;
|
---|
| 249 | i486 )
|
---|
| 250 | ARCH=x86
|
---|
| 251 | TARGET="i486-pc-linux-gnu"
|
---|
| 252 | ;;
|
---|
| 253 | i586 )
|
---|
| 254 | ARCH=x86
|
---|
| 255 | TARGET="i586-pc-linux-gnu"
|
---|
| 256 | ;;
|
---|
| 257 | ppc )
|
---|
| 258 | ARCH=ppc
|
---|
| 259 | TARGET="powerpc-unknown-linux-gnu"
|
---|
| 260 | ;;
|
---|
| 261 | mips )
|
---|
| 262 | ARCH=mips
|
---|
| 263 | TARGET="mips-unknown-linux-gnu"
|
---|
| 264 | ;;
|
---|
| 265 | mipsel )
|
---|
| 266 | ARCH=mips
|
---|
| 267 | TARGET="mipsel-unknown-linux-gnu"
|
---|
| 268 | ;;
|
---|
| 269 | sparc )
|
---|
| 270 | ARCH=sparc
|
---|
| 271 | TARGET="sparcv9-unknown-linux-gnu"
|
---|
| 272 | ;;
|
---|
| 273 | sparcv8 )
|
---|
| 274 | ARCH=sparcv8
|
---|
| 275 | TARGET="sparc-unknown-linux-gnu"
|
---|
| 276 | ;;
|
---|
| 277 | x86_64-64 )
|
---|
| 278 | ARCH=x86_64-64
|
---|
| 279 | TARGET="x86_64-unknown-linux-gnu"
|
---|
| 280 | ;;
|
---|
| 281 | mips64-64 )
|
---|
| 282 | ARCH=mips64-64
|
---|
| 283 | TARGET="mips-unknown-linux-gnu"
|
---|
| 284 | ;;
|
---|
| 285 | mipsel64-64 )
|
---|
| 286 | ARCH=mips64-64
|
---|
| 287 | TARGET="mipsel-unknown-linux-gnu"
|
---|
| 288 | ;;
|
---|
| 289 | sparc64-64 )
|
---|
| 290 | ARCH=sparc64-64
|
---|
| 291 | TARGET="sparc64-unknown-linux-gnu"
|
---|
| 292 | ;;
|
---|
| 293 | alpha )
|
---|
| 294 | ARCH=alpha
|
---|
| 295 | TARGET="alpha-unknown-linux-gnu"
|
---|
| 296 | ;;
|
---|
| 297 | x86_64 )
|
---|
| 298 | ARCH=x86_64
|
---|
| 299 | TARGET="x86_64-unknown-linux-gnu"
|
---|
| 300 | TARGET32="i686-pc-linux-gnu"
|
---|
| 301 | ;;
|
---|
| 302 | mips64 )
|
---|
| 303 | ARCH=mips64
|
---|
| 304 | TARGET="mips-unknown-linux-gnu"
|
---|
| 305 | TARGET32="mips-unknown-linux-gnu"
|
---|
| 306 | ;;
|
---|
| 307 | mipsel64 )
|
---|
| 308 | ARCH=mips64
|
---|
| 309 | TARGET="mipsel-unknown-linux-gnu"
|
---|
| 310 | TARGET32="mipsel-unknown-linux-gnu"
|
---|
| 311 | ;;
|
---|
| 312 | sparc64 )
|
---|
| 313 | ARCH=sparc64
|
---|
| 314 | TARGET="sparc64-unknown-linux-gnu"
|
---|
| 315 | TARGET32="sparcv9-unknown-linux-gnu"
|
---|
| 316 | ;;
|
---|
| 317 | ppc64 )
|
---|
| 318 | ARCH=ppc64
|
---|
| 319 | TARGET="powerpc64-unknown-linux-gnu"
|
---|
| 320 | TARGET32="powerpc-unknown-linux-gnu"
|
---|
| 321 | ;;
|
---|
| 322 | * )
|
---|
| 323 | echo -e "\n$1 is an unknown or unsopported arch."
|
---|
| 324 | exit 1
|
---|
| 325 | ;;
|
---|
| 326 | esac
|
---|
| 327 | ;;
|
---|
| 328 |
|
---|
[5ff30ff] | 329 | --boot-config )
|
---|
| 330 | test $# = 1 && eval "$exit_missing_arg"
|
---|
| 331 | shift
|
---|
| 332 | if [ -f $1 ] ; then
|
---|
| 333 | BOOT_CONFIG=$1
|
---|
| 334 | else
|
---|
| 335 | echo -e "\nFile $1 not found. Verify your command line.\n"
|
---|
| 336 | exit 1
|
---|
| 337 | fi
|
---|
| 338 | ;;
|
---|
| 339 |
|
---|
[bd99331] | 340 | --method )
|
---|
| 341 | test $# = 1 && eval "$exit_missing_arg"
|
---|
| 342 | shift
|
---|
| 343 | case $1 in
|
---|
| 344 | chroot | boot )
|
---|
| 345 | METHOD=$1
|
---|
| 346 | ;;
|
---|
| 347 | * )
|
---|
| 348 | echo -e "\n$1 isn't a valid build method."
|
---|
| 349 | exit 1
|
---|
| 350 | ;;
|
---|
| 351 | esac
|
---|
| 352 | ;;
|
---|
| 353 |
|
---|
[890acc6] | 354 | # HLFS options
|
---|
| 355 | --model )
|
---|
| 356 | test $# = 1 && eval "$exit_missing_arg"
|
---|
| 357 | shift
|
---|
| 358 | case $1 in
|
---|
| 359 | glibc | uclibc )
|
---|
| 360 | MODEL=$1
|
---|
| 361 | ;;
|
---|
| 362 | * )
|
---|
| 363 | echo -e "\n$1 isn't a valid libc model."
|
---|
| 364 | exit 1
|
---|
| 365 | ;;
|
---|
| 366 | esac
|
---|
| 367 | ;;
|
---|
| 368 |
|
---|
| 369 | # BLFS options
|
---|
| 370 | --dependencies )
|
---|
| 371 | test $# = 1 && eval "$exit_missing_arg"
|
---|
| 372 | shift
|
---|
| 373 | case $1 in
|
---|
| 374 | 0 | 1 | 2 )
|
---|
| 375 | DEPEND=$1
|
---|
| 376 | ;;
|
---|
| 377 | * )
|
---|
| 378 | echo -e "\n$1 isn't a valid dependencies level."
|
---|
| 379 | exit 1
|
---|
| 380 | ;;
|
---|
| 381 | esac
|
---|
| 382 | ;;
|
---|
| 383 |
|
---|
[bd99331] | 384 | # Unknown options
|
---|
[e794f06] | 385 | * ) usage ;;
|
---|
[0170229] | 386 | esac
|
---|
| 387 | shift
|
---|
| 388 | done
|
---|
| 389 |
|
---|
| 390 | # Find the download client to use, if not already specified.
|
---|
| 391 |
|
---|
| 392 | if [ -z $DL ] ; then
|
---|
| 393 | if [ `type -p wget` ] ; then
|
---|
| 394 | DL=wget
|
---|
| 395 | elif [ `type -p curl` ] ; then
|
---|
| 396 | DL=curl
|
---|
| 397 | else
|
---|
| 398 | eval "$no_dl_client"
|
---|
| 399 | fi
|
---|
| 400 | fi
|
---|
| 401 |
|
---|
| 402 | #===================================================
|
---|
| 403 | # Set the document location...
|
---|
[13e816f] | 404 | # BOOK is either defined in
|
---|
[0170229] | 405 | # xxx.config
|
---|
| 406 | # comand line
|
---|
[13e816f] | 407 | # default
|
---|
[d95b8f2] | 408 | # If set by conf file or cmd line leave it
|
---|
[0170229] | 409 | # alone otherwise load the default version
|
---|
| 410 | #===================================================
|
---|
| 411 | BOOK=${BOOK:=$PROGNAME-$LFSVRS}
|
---|
| 412 | #===================================================
|
---|
| 413 |
|
---|
[13e816f] | 414 |
|
---|
| 415 | # Check for minumum gcc and kernel versions
|
---|
| 416 | #check_requirements 1 # 0/1 0-do not display values.
|
---|
| 417 | check_version "2.6.2" "`uname -r`" "KERNEL"
|
---|
| 418 | check_version "3.0" "$BASH_VERSION" "BASH"
|
---|
| 419 | check_version "3.0" "`gcc -dumpversion`" "GCC"
|
---|
[e1edff3] | 420 | tarVer=`tar --version`
|
---|
| 421 | check_version "1.15.0" "${tarVer##* }" "TAR"
|
---|
[13e816f] | 422 | echo "---------------${nl_}"
|
---|
| 423 |
|
---|
| 424 | validate_config 1 # 0/1 0-do not display values
|
---|
| 425 | echo "---------------${nl_}"
|
---|
| 426 |
|
---|
[164afa2] | 427 | echo -n "Are you happy with that settings? yes/no (no): "
|
---|
[13e816f] | 428 | read ANSWER
|
---|
| 429 | if [ x$ANSWER != "xyes" ] ; then
|
---|
| 430 | echo "${nl_}Fix the configuration options and rerun the script.${nl_}"
|
---|
| 431 | exit 1
|
---|
| 432 | fi
|
---|
| 433 |
|
---|
| 434 | # Prevents setting "-d /" by mistake.
|
---|
| 435 |
|
---|
| 436 | if [ $BUILDDIR = / ] ; then
|
---|
| 437 | echo -ne "\nThe root directory can't be used to build LFS.\n\n"
|
---|
| 438 | exit 1
|
---|
| 439 | fi
|
---|
| 440 |
|
---|
| 441 | # If $BUILDDIR has subdirectories like tools/ or bin/, stop the run
|
---|
| 442 | # and notify the user about that.
|
---|
| 443 |
|
---|
| 444 | if [ -d $BUILDDIR/tools -o -d $BUILDDIR/bin ] && [ -z $CLEAN ] ; then
|
---|
| 445 | eval "$no_empty_builddir"
|
---|
| 446 | fi
|
---|
| 447 |
|
---|
| 448 | # If requested, clean the build directory
|
---|
| 449 | clean_builddir
|
---|
| 450 |
|
---|
[0170229] | 451 | if [[ ! -d $JHALFSDIR ]]; then
|
---|
| 452 | mkdir -pv $JHALFSDIR
|
---|
| 453 | fi
|
---|
| 454 |
|
---|
[13e816f] | 455 | if [[ "$PWD" != "$JHALFSDIR" ]]; then
|
---|
[12a5707] | 456 | cp -v $COMMON_DIR/makefile-functions $JHALFSDIR/
|
---|
[0170229] | 457 | if [[ -n "$FILES" ]]; then
|
---|
[9c90294] | 458 | # pushd/popd necessary to deal with mulitiple files
|
---|
| 459 | pushd $PACKAGE_DIR
|
---|
| 460 | cp -v $FILES $JHALFSDIR/
|
---|
| 461 | popd
|
---|
[0170229] | 462 | fi
|
---|
[12a5707] | 463 | sed 's,FAKEDIR,'$BOOK',' $PACKAGE_DIR/$XSL > $JHALFSDIR/${XSL}
|
---|
[0170229] | 464 | export XSL=$JHALFSDIR/${XSL}
|
---|
| 465 | fi
|
---|
| 466 |
|
---|
| 467 | if [[ ! -d $LOGDIR ]]; then
|
---|
| 468 | mkdir -v $LOGDIR
|
---|
| 469 | fi
|
---|
| 470 | >$LOGDIR/$LOG
|
---|
| 471 | echo "---------------${nl_}"
|
---|
| 472 |
|
---|
| 473 | get_book
|
---|
| 474 | echo "---------------${nl_}"
|
---|
[12a5707] | 475 |
|
---|
[0170229] | 476 | build_Makefile
|
---|
| 477 | echo "---------------${nl_}"
|
---|
[12a5707] | 478 |
|
---|
[386bc75] | 479 | run_make
|
---|
[0170229] | 480 |
|
---|