[Top][All Lists]
[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
- Removing dependencies, Bill Moseley, 2003/04/04
- Re: Removing dependencies, Raja R Harinath, 2003/04/04
- Re: Removing dependencies, Raja R Harinath, 2003/04/04
- Re: Removing dependencies,
Bill Moseley <=
- Re: Removing dependencies, Raja R Harinath, 2003/04/04
- Re: Removing dependencies, Alexandre Duret-Lutz, 2003/04/06
- Re: Removing dependencies, Bill Moseley, 2003/04/06
- Re: Removing dependencies, Bob Proulx, 2003/04/07
- Re: Removing dependencies, Bill Moseley, 2003/04/07
- Re: Removing dependencies, Steve M. Robbins, 2003/04/07
- Re: Removing dependencies, Alexandre Duret-Lutz, 2003/04/07