mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
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:
parent
2d8813e26b
commit
4fb5864a6c
6 changed files with 18 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue