Changeset 195ed9f for CLFS2


Ignore:
Timestamp:
11/11/2006 07:55:13 PM (17 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
  • CLFS2/master.sh

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