bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: VPATH rebuilding of gawk


From: Andreas Schwab
Subject: Re: VPATH rebuilding of gawk
Date: Sun, 03 Dec 2006 11:29:04 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> stamp-eg: $(srcdir)/../doc/gawk.texi $(srcdir)/../doc/gawkinet.texi
> -     mv eg eg.old
> -     rm -fr  stamp-eg
> -     $(AWK) -f $(srcdir)/extract.awk $(srcdir)/../doc/gawk.texi
> $(srcdir)/../doc/gawkinet.texi
> -     @echo 'some makes are stupid and will not check a directory' > stamp-eg
> -     @echo 'against a file, so this file is a place holder. gack.' >> 
> stamp-eg
> +     cd $(srcdir) && \
> +     mv eg eg.old && \
> +     rm -fr  stamp-eg && \
> +     $(AWK) -f extract.awk ../doc/gawk.texi ../doc/gawkinet.texi
> +     @echo 'some makes are stupid and will not check a directory' >
> $(srcdir)/stamp-eg
> +     @echo 'against a file, so this file is a place holder. gack.' >>
> $(srcdir)/stamp-eg

You should also change the target to $(srcdir)/stamp-eg, since that is
what is actually created by the commands.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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