antimake: make JoinPath to always output clean names
authorMarko Kreen <markokr@gmail.com>
Sun, 4 Mar 2012 09:02:54 +0000 (11:02 +0200)
committerMarko Kreen <markokr@gmail.com>
Sun, 4 Mar 2012 21:03:18 +0000 (23:03 +0200)
commit071c8f7ca713dd689435eecb315b710f31f75882
tree32357c5dc2c064ed6b2c01ec21750c15ad4d5082
parentb10cab8b68f2f88fdbaddc95eab7dd12cada4858
antimake: make JoinPath to always output clean names

When /./ or ../ are left in path name, the dependencies
will be wrong.

As it's too hard to do the join with plain string operations,
use $(abspath) and then convert path back to relative.
mk/antimake.mk