Manuel,
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
        @$(call echo_finished,$VERSION)

mk_SETUP:
        @$(call echo_SU_request)
        @sudo make SETUP
        @touch $@
        
mk_LUSER: mk_SETUP
        @$(call echo_SULUSER_request)
@( $(SU_LUSER) "source .bashrc && cd $(MOUNT_PT)/$(SCRIPT_ROOT) && make LUSER" )
        @touch $@

mk_CHROOT: mk_LUSER
        @sudo make CHROOT
        @touch $@

mk_BOOT: mk_CHROOT
        @sudo make BOOT
        @touch $@
        

SETUP:  $chapter4
LUSER:  $chapter5
CHROOT: $chapter6
BOOT:   $chapter789

--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to