Eric Kow <[email protected]> writes:
>> +ifeq (,$(filter %clean config% disttest,$(MAKECMDGOALS)))
>> +include autoconf.mk
>> +include .depend .depend_p
>
> Makes sense to me... by the way, just checking that I understand the
> filter correctly... I suppose this can be rewritten as:
>
> ifeq (,disttest $(filter %clean config%,$(MAKECMDGOALS)))
Well no, because that would say
if the empty string is equal to "disttest" plus some other stuff
which is never true.
The line I've used says
From the (whitespace separated) list of requested targets, extract
anything matching "disttest" or starting with "config" or ending in
"clean".
If that list is empty, then include some autoconf.mk (which implies,
"make autoconf.mk" before inclusion).
_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users