diff options
author | J.T. Conklin <johntconklin@users.noreply.github.com> | 2005-12-22 22:35:31 +0000 |
---|---|---|
committer | J.T. Conklin <johntconklin@users.noreply.github.com> | 2005-12-22 22:35:31 +0000 |
commit | 7d9a7dd3289eeee70409fc6d7d032be1538c65ee (patch) | |
tree | 1bbb86a88fe8fe5e6ffc542e06fd5125fb67c0ac | |
parent | eca7eff5ea7e7c3c48d2da82fb4b49e3b9d5d1a6 (diff) | |
download | MPC-7d9a7dd3289eeee70409fc6d7d032be1538c65ee.tar.gz |
ChangeLogTag: Thu Dec 22 13:56:14 2005 J.T. Conklin <jtc@acorntoolworks.com>
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | modules/AutomakeProjectCreator.pm | 12 |
2 files changed, 18 insertions, 5 deletions
@@ -1,3 +1,14 @@ +Thu Dec 22 13:56:14 2005 J.T. Conklin <jtc@acorntoolworks.com> + + * modules/AutomakeProjectCreator.pm: + + Disable code that prefixed include paths with "$(srcdir)/". In + some cases an include path should be relative to the source dir, + in others it should be relative to the build dir, and sometimes + it should be relative to both. Since it is impossible to guess + which is the correct choice, require the *.mpc file to specify + it correctly. + Thu Dec 22 15:17:30 2005 Chad Elliott <elliott_c@ociweb.com> * templates/vc7csharp.mpd: diff --git a/modules/AutomakeProjectCreator.pm b/modules/AutomakeProjectCreator.pm index 29b589f8..99bde870 100644 --- a/modules/AutomakeProjectCreator.pm +++ b/modules/AutomakeProjectCreator.pm @@ -37,11 +37,13 @@ sub fill_value { my($incs) = $self->get_assignment('includes'); if (defined $incs) { my(@vec) = split(' ', $incs); - foreach(@vec) { - if (/^[^\$\/]/) { - $_ = '$(srcdir)/' . $_; - } - } + +# # The following prefixes include paths with $(srcdir)/. +# foreach(@vec) { +# if (/^[^\$\/]/) { +# $_ = '$(srcdir)/' . $_; +# } +# } $value = \@vec; } |