bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #16145] .SECONDARY: prevents non-existent dependency from forcing r


From: Jay Berkenbilt
Subject: [bug #16145] .SECONDARY: prevents non-existent dependency from forcing rebuild
Date: Tue, 21 Mar 2006 22:02:28 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc3 Firefox/1.0.7

Follow-up Comment #4, bug #16145 (project make):

Either of your proposed solutions will work fine for me, and the first one
(mentioning things explicitly to prevent them from being removed) is what
I've done for years and was doing until I decided that, after having been
using gnu make for 10 years, it was time to reread the documentation all the
way through see what new features  had been introduced! I failed to realize
that one of the side effects of a target being declared secondary is that
make doesn't consider it out of date when it doesn't exist, but when I think
about it, that's pretty obviously the correct behavior since otherwise every
build would end up regenerating it  if it disappeared.

I can't convince you that I need a global .SECONDARY because I don't believe
it myself now that I actually correctly understand what it does. :-)  I
generally prefer to have my intermediate targets stick around, but there are
ways to make this happen, as you pointed out.  Actually, I don't think my
current build system has any implicit intermediate targets at the moment
since it invokes make with -rR anyway, though I might have coded some chain
of implicit rules at some point and forgotten about it.  No matter though.

Thanks for the prompt responses.  I consider this issue resolved.  Feel free
to close it.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16145>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]