jhalfs-x: new Makefile scheme
georgeb at linuxfromscratch.org
Fri Aug 25 13:28:21 PDT 2006
We had talked about changing the makefile design to track the lfs
books build concept. I tried both separated makefiles for each stage and
a recursive style (the recursive style is included). Both have their
problems and most are related to privileges.
I will continue on with the recursive makefile (it's easier to code)
and keep you informed on my progress.
all: mk_SETUP mk_LUSER mk_CHROOT mk_BOOT
@sudo make SETUP
@( $(SU_LUSER) "source .bashrc && cd $(MOUNT_PT)/$(SCRIPT_ROOT) && make
@sudo make CHROOT
@sudo make BOOT
More information about the alfs-discuss