Changeset 195ed9f for CLFS3


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
  • CLFS3/master.sh

    rfe30c61 r195ed9f  
    427427  # Add a header, some variables and include the function file
    428428  # to the top of the real Makefile.
    429 (
    430     cat << EOF
    431 $HEADER
    432 
    433 SRC         = /sources
    434 MOUNT_PT    = $BUILDDIR
    435 PKG_LST     = $PKG_LST
    436 LUSER       = $LUSER
    437 LGROUP      = $LGROUP
    438 SCRIPT_ROOT = $SCRIPT_ROOT
    439 
    440 BASEDIR    = \$(MOUNT_PT)
    441 SRCSDIR    = \$(BASEDIR)/sources
    442 CMDSDIR    = \$(BASEDIR)/\$(SCRIPT_ROOT)/$PROGNAME-commands
    443 LOGDIR     = \$(BASEDIR)/\$(SCRIPT_ROOT)/logs
    444 TESTLOGDIR = \$(BASEDIR)/\$(SCRIPT_ROOT)/test-logs
    445 
    446 SU_LUSER   = su - \$(LUSER) -c
    447 PRT_DU     = echo -e "\nKB: \`du -skx --exclude=jhalfs --exclude=lost+found \$(MOUNT_PT)\`\n"
    448 LUSER_HOME = /home/\$(LUSER)
    449 
    450 export PATH := \${PATH}:/usr/sbin
    451 
    452 include makefile-functions
    453 
    454 EOF
    455 ) > $MKFILE
     429  wrt_Makefile_header
    456430
    457431  # Drop in the main target 'all:' and the chapter targets with each sub-target
Note: See TracChangeset for help on using the changeset viewer.