On Fri, 4 Apr 2003, Raja R Harinath wrote: > Hi, > > Raja R Harinath <[EMAIL PROTECTED]> writes: > [snip] > > $(html_DATA): .html-stamp > > if test -f $@; then :; else rm -f $<; done > > That should read: > > if test -f $@; then :; else rm -f $<; $(MAKE) .html-stamp; done
Yes, that would be perfect, but I don't think I can require GNU make. How non-portable is that? BTW -- something's not quite right in the syntax, it seems. if test -f CHANGES.html; then :; else rm -f .html-stamp; make .html-stamp; done /bin/sh: -c: line 1: syntax error near unexpected token `done' /bin/sh: -c: line 1: `if test -f CHANGES.html; then :; else rm -f .html-stamp; make .html-stamp; done' Thanks very much for the help! -- Bill Moseley [EMAIL PROTECTED]