Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2006-03-16 11:30:00 -0800 (Thu, 16 Mar 2006)
Revision: 8911
Log message:
NOTE, this is a change to the semantics of implicit rules,
addressing bug#456.
Implicit rules now apply only to targets in the current
directory. That is, within directory foo/, implicit rules
cannot be used to build targets in some other directory bar/.
For example, suppose you have the following implicit rule.
%: ../%
cp $< $@
This rule will not trigger recursively. [Unless
you are in the root directory...]
In addition, target patterns outside the current directory
are illegal.
../%.x: %.y
cp $< $@
*** omake error:
File OMakefile: line 1, characters 0-11
filename pattern is a path: ../%.x
Note that rules of the following form will still loop forever.
I'm not sure what, if anything, to do about this case. I think
the problem is in general undecidable whether a sequence of
rewrites is terminating, even for simple ones like these.
%: %.foo
Changes | Path |
+50 -35 | omake-branches/0.9.6.shell/src/env/omake_env.ml |