Changeset 68713c9 for common/libs/func_wrt_Makefile
- Timestamp:
- 08/17/2007 04:24:47 PM (17 years ago)
- Branches:
- 2.3, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- e5842d6
- Parents:
- 3abe9d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_wrt_Makefile
r3abe9d7 r68713c9 41 41 PRT_DU = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found \$(MOUNT_PT) \`\n" 42 42 PRT_DU_CR = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found / \`\n" 43 TIME_MARK = \`date +%s.%N\`44 BUILD_TIME = perl -e "printf \"\nTotalseconds: %.3f\", ('\$\$end' - '\$\$start')"45 43 46 44 ADD_REPORT = $REPORT … … 235 233 ( 236 234 cat << EOF 237 @start=\$(TIME_MARK) && \\ 238 export ${MOUNT_ENV}=\$(MOUNT_PT) && \\ 235 @export ${MOUNT_ENV}=\$(MOUNT_PT) && \\ 239 236 ${PROGNAME}-commands/`dirname $file`/\$@ >>logs/\$@ 2>&1 && \\ 240 end=\$(TIME_MARK) && \$(BUILD_TIME) >>logs/\$@ && \\241 237 \$(PRT_DU) >>logs/\$@ 242 238 EOF … … 251 247 ( 252 248 cat << EOF 253 @start=\$(TIME_MARK) && \\ 254 source ~/.bashrc && \\ 249 @source ~/.bashrc && \\ 255 250 \$(CMDSDIR)/`dirname $file`/\$@ >> logs/\$@ 2>&1 && \\ 256 end=\$(TIME_MARK) && \$(BUILD_TIME) >>logs/\$@ && \\257 251 \$(PRT_DU) >>logs/\$@ 258 252 EOF … … 266 260 ( 267 261 cat << EOF 268 @start=\$(TIME_MARK) && \\ 269 source envars && \\ 262 @source envars && \\ 270 263 \$(crCMDSDIR)/`dirname $file`/\$@ >>logs/\$@ 2>&1 && \\ 271 end=\$(TIME_MARK) && \$(BUILD_TIME) >>logs/\$@ && \\272 264 \$(PRT_DU_CR) >>logs/\$@ 273 265 EOF … … 286 278 ( 287 279 cat << EOF 288 @start=\$(TIME_MARK) && \\ 289 cp -v \$(MOUNT_PT)/sources/fstab \$(MOUNT_PT)/etc/fstab >>logs/\$@ 2>&1 && \\ 290 end=\$(TIME_MARK) && \$(BUILD_TIME) >>logs/\$@ && \\ 280 @cp -v \$(MOUNT_PT)/sources/fstab \$(MOUNT_PT)/etc/fstab >>logs/\$@ 2>&1 && \\ 291 281 \$(PRT_DU) >>logs/\$@ 292 282 EOF … … 299 289 ( 300 290 cat << EOF 301 @start=\$(TIME_MARK) && \\ 302 cp -v /sources/fstab /etc/fstab >>logs/\$@ 2>&1 && \\ 303 end=\$(TIME_MARK) && \$(BUILD_TIME) >>logs/\$@ && \\ 291 @cp -v /sources/fstab /etc/fstab >>logs/\$@ 2>&1 && \\ 304 292 \$(PRT_DU_CR) >>logs/\$@ 305 293 EOF
Note:
See TracChangeset
for help on using the changeset viewer.