Comment 3 for bug 1076450

Revision history for this message
Paul Sokolovsky (pfalcon) wrote :

I tried to follow the lead from make's docs ("As a special case, if the file's name begins with a dot, no error message is printed."), but found it doesn't really make any difference:

../../lib/gcc.mk:78: warning: overriding commands for target `.extract-top'
../../lib/steps.mk:165: warning: ignoring old commands for target `.extract-top'

Looking at make's source, there's no explicit check for starting dot at the place where warning is printed, so either that clause in docs is out of date, or means something completely different.

Other approach might be to have vars like extact_top_DEFINED=1, then include steps.mk and wrap its rules in ifdef blocks, but that's much less verbose and intrusive change than just using dot-prefixed target names which I hope would work ;-(