Changeset 4c62c61 for functions


Ignore:
Timestamp:
10/03/2005 10:00:09 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
0.2, 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
a6d9007
Parents:
7d98315
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions

    r7d98315 r4c62c61  
    77
    88define echo_message
    9         @echo $(BRW)
    10         @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    11         @echo $(BRW)$(1) target $(BLUE)$@$(BRW)
    12         @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$(WHITE)
    13 endef
    14 
    15 define unpack-lfs
    16         @cd $(LFS)$(SRC) ; tar -xvjf $(1) > /tmp/unpacked
     9  @echo $(BRW)
     10  @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     11  @echo $(BRW)$(1) target $(BLUE)$@$(BRW)
     12  @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$(WHITE)
    1713endef
    1814
    1915define unpack
    20         @cd $(SRC) ; tar -xvf $(1) > /tmp/unpacked
     16        @cd $(LFS)$(SRC) ; tar -xvjf $(1) > /tmp/unpacked
    2117endef
Note: See TracChangeset for help on using the changeset viewer.