summaryrefslogtreecommitdiffstats
path: root/tools/genlang
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2009-03-02 06:13:18 +0000
committerTom Ross <midgey@rockbox.org>2009-03-02 06:13:18 +0000
commit4fb5864a6c9f4117edd23f8a14ef6efddf09fcb8 (patch)
treec09a4b900a7a6fe7b6b3ccfa42d751f9e0caf69d /tools/genlang
parent2d8813e26ba4c185996c9552f935a2de34566e17 (diff)
downloadrockbox-4fb5864a6c9f4117edd23f8a14ef6efddf09fcb8.tar.gz
rockbox-4fb5864a6c9f4117edd23f8a14ef6efddf09fcb8.zip
Move generated lang-related files to their own directory in preparation of localizable plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20170 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/genlang')
-rwxr-xr-xtools/genlang10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/genlang b/tools/genlang
index 9f9e904312..05183b8d67 100755
--- a/tools/genlang
+++ b/tools/genlang
@@ -535,13 +535,13 @@ if ($sortfile) {
if($prefix) {
# We create a .c and .h file
- open(HFILE, ">$prefix.h") ||
- die "Error: couldn't create file $prefix.h\n";
- open(CFILE, ">$prefix.c") ||
- die "Error: couldn't create file $prefix.c\n";
+ open(HFILE, ">$prefix/lang.h") ||
+ die "Error: couldn't create file $prefix/lang.h\n";
+ open(CFILE, ">$prefix/lang_core.c") ||
+ die "Error: couldn't create file $prefix/lang_core.c\n";
# get header file name
- $headername = "$prefix.h";
+ $headername = "$prefix/lang.h";
$headername =~ s/(.*\/)*//;
print HFILE <<MOO