Tom Lane writes:
> Was it a symlink already? I thought I recalled it being a hard link or
> a copy.
We're moving ahead fast. :)
> There might also be a dependency issue, ie does make realize that
> updating backend/parser/parse.h means it has to recompile files
> that are shown as depending on include/parser/parse.h.
It seems to be a stat() vs lstat() issue; the symlink is automatically
up-to-date because when make inspects it it will find the timestamp of the
underlying file. So the answer to your question seems to be yes.
$ ls
Makefile
$ cat Makefile
first: second
touch $@
second: third
ln -s $< $@
$ touch third
$ make
ln -s third second
touch first
$ touch third
$ make
touch first
--
Peter Eisentraut Sernanders väg 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden