aboutsummaryrefslogtreecommitdiff
path: root/xsd
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-04-08 16:55:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-04-08 16:55:05 +0200
commite9931b8ef3d9a0c2fd5db7177421e3917fe27cea (patch)
treefffc46d0135f478776b38ccc409cccc0d50bfc93 /xsd
parent901163e478e53aa44958449dbf7cac9887975d1c (diff)
Keep directory part in make dependency targets
Diffstat (limited to 'xsd')
-rw-r--r--xsd/cxx/tree/generator.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/xsd/cxx/tree/generator.cxx b/xsd/cxx/tree/generator.cxx
index d60e5bc..5f60269 100644
--- a/xsd/cxx/tree/generator.cxx
+++ b/xsd/cxx/tree/generator.cxx
@@ -635,19 +635,19 @@ namespace CXX
}
else
{
- target = hxx_path.leaf ();
+ target = hxx_path.native_file_string ();
if (forward)
- target += " \\\n" + fwd_path.leaf ();
+ target += " \\\n" + fwd_path.native_file_string ();
if (inline_)
- target += " \\\n" + ixx_path.leaf ();
+ target += " \\\n" + ixx_path.native_file_string ();
for (Paths::iterator i (cxx_paths.begin ());
i != cxx_paths.end (); ++i)
- target += " \\\n" + i->leaf ();
+ target += " \\\n" + i->native_file_string ();
- target += " \\\n" + dep_path.leaf ();
+ target += " \\\n" + dep_path.native_file_string ();
}
dep << target.c_str () << ':';