Changeset 195ed9f for CLFS


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

    rfe30c61 r195ed9f  
    11221122  # Add a header, some variables and include the function file
    11231123  # to the top of the real Makefile.
    1124 (
    1125     cat << EOF
    1126 $HEADER
    1127 
    1128 SRC            = /sources
    1129 MOUNT_PT       = $BUILDDIR
    1130 PKG_LST        = $PKG_LST
    1131 LUSER          = $LUSER
    1132 LGROUP         = $LGROUP
    1133 SCRIPT_ROOT    = $SCRIPT_ROOT
    1134 ADD_BLFS_TOOLS = $BLFS_TOOL
    1135 
    1136 BASEDIR      = \$(MOUNT_PT)
    1137 SRCSDIR      = \$(BASEDIR)/sources
    1138 CMDSDIR      = \$(BASEDIR)/\$(SCRIPT_ROOT)/$PROGNAME-commands
    1139 LOGDIR       = \$(BASEDIR)/\$(SCRIPT_ROOT)/logs
    1140 TESTLOGDIR   = \$(BASEDIR)/\$(SCRIPT_ROOT)/test-logs
    1141 
    1142 crSRCSDIR    = /sources
    1143 crCMDSDIR    = /\$(SCRIPT_ROOT)/$PROGNAME-commands
    1144 crLOGDIR     = /\$(SCRIPT_ROOT)/logs
    1145 crTESTLOGDIR = /\$(SCRIPT_ROOT)/test-logs
    1146 
    1147 SU_LUSER     = su - \$(LUSER) -c
    1148 LUSER_HOME   = /home/\$(LUSER)
    1149 PRT_DU       = echo -e "\nKB: \`du -skx --exclude=jhalfs --exclude=lost+found \$(MOUNT_PT)\`\n"
    1150 PRT_DU_CR    = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found / \`\n"
    1151 
    1152 export PATH := \${PATH}:/usr/sbin
    1153 
    1154 include makefile-functions
    1155 
    1156 EOF
    1157 ) > $MKFILE
     1124  wrt_Makefile_header
    11581125
    11591126  # Add chroot commands
Note: See TracChangeset for help on using the changeset viewer.