Re: sh embedding

2012-07-23 Thread icegood
n't found better way to allow continue building of sibling process without building all files. But at least it works. In nonparallel case everything works, of course, too, but it's not interest case. -- View this message in context: http://old.nabble.com/sh-embedding-tp34201

Re: sh embedding

2012-07-23 Thread Philip Guenther
On Mon, Jul 23, 2012 at 11:59 AM, icegood wrote: > from newer version of gnu make (3.81 under kubuntu 12.04) > > .PHONEY: all > all: > if [ \( "$$(ls *.lock 2>/dev/null)" == "" \) ]; then \ The '==' operator is a bash extension that is supported by many but not all shells. Perhaps the sh

Re: sh embedding

2012-07-23 Thread Paul Smith
On Mon, 2012-07-23 at 11:59 -0700, icegood wrote: > .PHONEY: all > all: > if [ \( "$$(ls *.lock 2>/dev/null)" == "" \) ]; then \ > touch $@.lock; \ > if [ \( ! -e $@ \) -o \( ../$(tag_fn) -nt $@ \) ]; then \ > echo $@ done; \ > else \ > touch $@; \ > fi; \ >

sh embedding

2012-07-23 Thread icegood
; \ fi; \ rm -f $@.lock; \ else \ sleep 1; \ fi; returns error /bin/sh: 1: [: closing paren expected -- View this message in context: http://old.nabble.com/sh-embedding-tp34201839p34201839.html Sent from the Gnu - Make - Bugs mailing lis