Could make be made to ignore repeated /s in target names?? So that it can match
a dependency dir1/dir2 to a target dir1//dir2.
Given a simple makefile such as
x: foo/bar/waz
cp /dev/null $@
foo//bar/waz:
mkdir -p `dirname $@`
cp /dev/null $@
The command
rm -rf foo ; make
will fail:
make: *** No rule to make target `foo/bar/waz', needed by `x'. Stop.
This problem crops up a lot, where there are variables defined as
directory=foo
and
rules/targets inconsistently using them as
$(directory)/bar or $(directory)bar
_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make