Bruce Momjian wrote:
> I wrote:
>       ifeq (,$(wildcard bookindex.valid))
>               echo "Run 'gmake' again to generate output with a proper index"
>       endif
> but that warns on the first _two_ runs, meaning it expanded at the
> time the rule started, not at the time it hit that line.

This expands at the time the makefile is read.  You may get it to work 

        $(if $(wildcard blah), this, that)

The following may be helpful:

Peter Eisentraut

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to