Changeset 401f81e for LFS/master.sh


Ignore:
Timestamp:
08/16/2006 05:42:54 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
fdb330a
Parents:
5be3651
Message:

Ported Makefile clean-up and 0/1 to n/y migration code from experimental.
There is no obvious bugs, let users to find hidden bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r5be3651 r401f81e  
    66###         FUNCTIONS           ###
    77###################################
    8 
    98
    109
     
    8180      *expect)    [[ "${TEST}" = "0" ]] && continue ;;
    8281      *dejagnu)   [[ "${TEST}" = "0" ]] && continue ;;
    83       *stripping) [[ "${STRIP}" = "0" ]] && continue ;;
     82      *stripping) [[ "${STRIP}" = "n" ]] && continue ;;
    8483      *glibc)     [[ "${TEST}" = "3" ]] && \
    8584                  sed -i 's@/usr/lib/locale@/tools/lib/locale@' $file ;;
     
    178177    case "${this_script}" in
    179178      *chroot)      continue ;;
    180       *stripping*) [[ "${STRIP}" = "0" ]] && continue ;;
     179      *stripping*) [[ "${STRIP}" = "n" ]] && continue ;;
    181180    esac
    182181
     
    336335
    337336  # Add SBU-disk_usage report target if required
    338   if [[ "$REPORT" = "1" ]] ; then wrt_report ; fi
     337  if [[ "$REPORT" = "y" ]] ; then wrt_report ; fi
    339338}
    340339
     
    353352  chapter6_Makefiles
    354353  # Add the iterations targets, if needed
    355   [[ "$COMPARE" != "0" ]] && wrt_compare_targets
     354  [[ "$COMPARE" = "y" ]] && wrt_compare_targets
    356355  chapter789_Makefiles
    357356
     
    363362$HEADER
    364363
    365 SRC= /sources
    366 MOUNT_PT= $BUILDDIR
    367 PKG_LST= $PKG_LST
    368 LUSER= $LUSER
    369 LGROUP= $LGROUP
     364SRC          = /sources
     365MOUNT_PT     = $BUILDDIR
     366PKG_LST      = $PKG_LST
     367LUSER        = $LUSER
     368LGROUP       = $LGROUP
     369SCRIPT_ROOT  = $SCRIPT_ROOT
     370
     371BASEDIR      = \$(MOUNT_PT)
     372SRCSDIR      = \$(BASEDIR)/sources
     373CMDSDIR      = \$(BASEDIR)/\$(SCRIPT_ROOT)/$PROGNAME-commands
     374LOGDIR       = \$(BASEDIR)/\$(SCRIPT_ROOT)/logs
     375TESTLOGDIR   = \$(BASEDIR)/\$(SCRIPT_ROOT)/test-logs
     376
     377crSRCSDIR    = /sources
     378crCMDSDIR    = /\$(SCRIPT_ROOT)/$PROGNAME-commands
     379crLOGDIR     = /\$(SCRIPT_ROOT)/logs
     380crTESTLOGDIR = /\$(SCRIPT_ROOT)/test-logs
     381
     382SU_LUSER     = su - \$(LUSER) -c
     383LUSER_HOME   = /home/\$(LUSER)
     384PRT_DU       = echo -e "\nKB: \`du -skx --exclude=jhalfs \$(MOUNT_PT)\`\n"
     385PRT_DU_CR    = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) \$(MOUNT_PT)\`\n"
     386
    370387
    371388include makefile-functions
Note: See TracChangeset for help on using the changeset viewer.