On Wed, Mar 17, 2004 at 06:55:21PM -0800, Lee Olsen wrote:
>Hello all;
>
>I now have a handle on what is going on and why, and some proposed 
>chasnges to fix it.
>Here's a simplification of the install dependency chain from 
>xc/lib/font/Makefile:
>
>install:: lib$(LIBNAME).a
>
>lib$(LIBNAME).a : $(SUBDIRS)
>
>$(SUBDIRS) : FRC
>        @echo "making all in $(CURRENT_DIR)/[EMAIL PROTECTED]"
>        @$(MAKE) -C $@ $(MFLAGS) $(PARALLELMFLAGS) 
>CDEBUGFLAGS="$(CDEBUGFLAGS)" LDSTRIPFLAGS="$(LDSTRIPFLAGS)" all
>
>FRC :
>
>Since FRC never exists, it gets remade, forcing $(SUBDIRS) to be remade, 
>echoing
>"making all in ..." and doing just that. To stop the rebuilding during 
>an install, the
>dependency chains must be separated. Removing all dependencies on 
>install:: targets
>does exactly that.

What is the rebuilding in $(SUBDIRS) causing to get rebuilt?  I see get
rebuilt is the symlinks to xc/exports for the font modules.  That can
be fixed by moving where the link creation is done, so that it isn't a
separate all:: target of its own.  (I'm testing a patch that does this
now.)

While removing the dependencies for the install targets is probably
reasonable, I think we should be able to fix the specific problems at
their source.  They are usually a sign that something isn't quite right.

David
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to