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; \ rm -f $@.lock;

Re: sh embedding

2012-07-23 Thread Philip Guenther
On Mon, Jul 23, 2012 at 11:59 AM, icegood icegood1...@gmail.com 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.

Re: sh embedding

2012-07-23 Thread icegood
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-tp34201839p34202354.html Sent from the Gnu - Make - Bugs mailing