New book validation procedure?

Dan Nicholson dbn.lists at gmail.com
Sat Jul 7 06:23:55 PDT 2007


On 7/7/07, Randy McMurchy <randy at linuxfromscratch.org> wrote:
>
> Best I can tell from the Makefile this is how rendering is done:
>
> 1. Run the Makefile target 'blfs'.
> 2. The 'blfs' target first calls the 'validxml' and 'profile-html' targets.
> 3. The 'profile-html' target first calls the 'validxml' target.
>
> So, my question is this: how does the 'make' procedure know not to run
> the 'validxml' target twice, once called by the 'blfs' target and again
> by the 'profile-html?

Make walks a dependency tree. Since validxml is a dependency of both
blfs and profile-html, it's pruned from one or the other depending on
whether validxml comes up before or after profile-html. Try adding
--debug=b when running make. It will print out information about
targets.

--
Dan



More information about the blfs-dev mailing list