diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-12-01 23:18:09 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-12-01 23:18:09 +0000 |
commit | 145d7fa15b0046bd43babe773f1dead8a47e177a (patch) | |
tree | 3b56ca68f68ed8613a3c1ef90b3e87a6127cd6f0 /cmake/navit_xml_parser_glade.cmake | |
parent | 0854ded546cb8050689164cb8a9273bf245c170b (diff) | |
download | navit-145d7fa15b0046bd43babe773f1dead8a47e177a.tar.gz |
Fix:Build:Fixed locale generation
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3745 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'cmake/navit_xml_parser_glade.cmake')
-rw-r--r-- | cmake/navit_xml_parser_glade.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/navit_xml_parser_glade.cmake b/cmake/navit_xml_parser_glade.cmake new file mode 100644 index 000000000..dc9616f7c --- /dev/null +++ b/cmake/navit_xml_parser_glade.cmake @@ -0,0 +1,6 @@ +file(READ "${SRC}" OUTPUT_LINES) +string(REGEX REPLACE "vehicleprofile" "atkaction" OUTPUT_LINES "${OUTPUT_LINES}") +string(REGEX REPLACE "name=" "description=" OUTPUT_LINES "${OUTPUT_LINES}") +string(REGEX REPLACE "...CDATA" " " OUTPUT_LINES "${OUTPUT_LINES}") +string(REGEX REPLACE "\\]\\]" "" OUTPUT_LINES "${OUTPUT_LINES}") +file(WRITE ${DST} ${OUTPUT_LINES}) |