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
This commit is contained in:
Tom Ross 2009-03-02 06:13:18 +00:00
parent 2d8813e26b
commit 4fb5864a6c
6 changed files with 18 additions and 17 deletions

View file

@ -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