Changeset 195ed9f for HLFS/master.sh


Ignore:
Timestamp:
11/11/2006 07:55:13 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:
8f2c086
Parents:
fe30c61
Message:

Moved Makefile header creation to a common function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HLFS/master.sh

    rfe30c61 r195ed9f  
    495495  # Add a header, some variables and include the function file
    496496  # to the top of the real Makefile.
    497 (
    498     cat << EOF
    499 $HEADER
    500 
    501 SRC          = /sources
    502 MOUNT_PT     = $BUILDDIR
    503 PKG_LST      = $PKG_LST
    504 LUSER        = $LUSER
    505 LGROUP       = $LGROUP
    506 SCRIPT_ROOT  = $SCRIPT_ROOT
    507 
    508 BASEDIR      = \$(MOUNT_PT)
    509 SRCSDIR      = \$(BASEDIR)/sources
    510 CMDSDIR      = \$(BASEDIR)/\$(SCRIPT_ROOT)/$PROGNAME-commands
    511 LOGDIR       = \$(BASEDIR)/\$(SCRIPT_ROOT)/logs
    512 TESTLOGDIR   = \$(BASEDIR)/\$(SCRIPT_ROOT)/test-logs
    513 
    514 crSRCSDIR    = /sources
    515 crCMDSDIR    = /\$(SCRIPT_ROOT)/$PROGNAME-commands
    516 crLOGDIR     = /\$(SCRIPT_ROOT)/logs
    517 crTESTLOGDIR = /\$(SCRIPT_ROOT)/test-logs
    518 
    519 SU_LUSER     = su - \$(LUSER) -c
    520 LUSER_HOME   = /home/\$(LUSER)
    521 PRT_DU       = echo -e "\nKB: \`du -skx --exclude=jhalfs --exclude=lost+found \$(MOUNT_PT)\`\n"
    522 PRT_DU_CR    = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found / \`\n"
    523 
    524 export PATH := \${PATH}:/usr/sbin
    525 
    526 include makefile-functions
    527 
    528 EOF
    529 ) > $MKFILE
    530 
     497  wrt_Makefile_header
    531498
    532499  # Add chroot commands
Note: See TracChangeset for help on using the changeset viewer.