source: functions@ af47a19

0.2 1.0 2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since af47a19 was 4c62c61, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

LOGDIR envar isn't needed in the Makefile.
All packages are unpacked, and the sources directories deleted, outside chroot.
Added echo_message to Chapter06 targets.
Fixed the 067-readjusting target creation.
Added -x tu the du command to skipp kernel filesystems (I think).
Sourced envars from inside the chroot command.

  • Property mode set to 100644
File size: 444 bytes
Line 
1BRW= "[0;1m"
2RED= "[0;31m"
3GREEN= "[0;32m"
4ORANGE= "[0;33m"
5BLUE= "[1;34m"
6WHITE= "[00m"
7
8define echo_message
9 @echo $(BRW)
10 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11 @echo $(BRW)$(1) target $(BLUE)$@$(BRW)
12 @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$(WHITE)
13endef
14
15define unpack
16 @cd $(LFS)$(SRC) ; tar -xvjf $(1) > /tmp/unpacked
17endef
Note: See TracBrowser for help on using the repository browser.