automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Removing dependencies


From: Bill Moseley
Subject: Re: Removing dependencies
Date: Fri, 4 Apr 2003 16:48:12 -0800 (PST)

On Fri, 4 Apr 2003, Raja R Harinath wrote:

> Hi,
> 
> Raja R Harinath <address@hidden> 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 address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]