RE: [bug #18641] GNUmake 3.81, $(error ) sometimes unable to stop make process

2006-12-30 Thread Martin Dorey
> Suggest rewriting the last two lines as: Sorry for that unnecessary nonsense. I'm not sure why I invented that superstition. Now I'm at a proper computer (and can read the documentation and try things out), I can reproduce the behavior observed by the OP. A potentially relevant difference in

[bug #17245] $(notdir foo/) should return . instead of blank

2006-12-30 Thread Jun Chen
Follow-up Comment #1, bug #17245 (project make): Well, if you need such functionality, you can write your own function: MyNotDir_1 = $(if $(patsubst %/,,$1),$(notdir $1),.)#OK MyNotDir = $(foreach v,$1,$(call MyNotDir_1,$v)) Now, MyNotDir acts as you expect. I've tested it on make 3.

Re: [bug #18641] GNUmake 3.81, $(error ) sometimes unable to stop make process

2006-12-30 Thread Martin Dorey
To get the behavior you want, you need the rule for $(_p_SubprjsMade) to fail when its invocation of ${MAKE} -f $(_p_mk_MakeSubPrjs) fails. Suggest rewriting the last two lines as: @${MAKE} -f $(_p_mk_MakeSubPrjs) && \ touch $@ (echo -n "" > $@ is fine - touch $@ is just more u

[bug #18641] GNUmake 3.81, $(error ) sometimes unable to stop make process

2006-12-30 Thread Jun Chen
URL: Summary: GNUmake 3.81, $(error ) sometimes unable to stop make process Project: make Submitted by: chjfth Submitted on: Saturday 12/30/2006 at 22:03 Severity: 3 - Normal