- Timestamp:
- 04/12/2006 07:38:42 PM (18 years ago)
- Branches:
- experimental
- Children:
- b242136
- Parents:
- d80021c3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
rd80021c3 raa08925 146 146 chapter6_Makefiles() { 147 147 #----------------------------# 148 echo "${tab_}${GREEN}Processing... ${L_arrow}Chapter6${R_arrow}" 148 # Set N and chapter6 for iteration targets 149 if [[ -z $1 ]] ; then 150 local N="" 151 else 152 local N=-build_$1 153 local chapter6="" 154 fi 155 156 echo "${tab_}${GREEN}Processing... ${L_arrow}Chapter6$N${R_arrow}" 149 157 150 158 for file in chapter06/* ; do … … 161 169 # First append each name of the script files to a list (this will become 162 170 # the names of the targets in the Makefile 163 chapter6="$chapter6 ${this_script} "171 chapter6="$chapter6 ${this_script}${N}" 164 172 165 173 # Grab the name of the target … … 172 180 # Drop in the name of the target on a new line, and the previous target 173 181 # as a dependency. Also call the echo_message function. 174 wrt_target "${this_script} " "$PREV"182 wrt_target "${this_script}${N}" "$PREV" 175 183 176 184 # Find the version of the command files, if it corresponds with the building of … … 206 214 207 215 # Keep the script file name for Makefile dependencies. 208 PREV=${this_script} 216 PREV=${this_script}${N} 217 # Set system_build envar for iteration targets 218 system_build=$chapter6 209 219 done # end for file in chapter06/* 210 220 }
Note:
See TracChangeset
for help on using the changeset viewer.