forked from len0rd/rockbox
Lua: add actions.lua to the zip file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21023 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a9b2d1b5fa
commit
bcfba08055
3 changed files with 9 additions and 2 deletions
|
@ -18,10 +18,12 @@
|
||||||
#
|
#
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
$input = "../../action.h";
|
$input = $ARGV[0] . "/../../action.h";
|
||||||
|
|
||||||
open(ACTION, "<$input") or die "Can't open $input!";
|
open(ACTION, "<$input") or die "Can't open $input!";
|
||||||
|
|
||||||
|
print "-- Don't change this file!\n";
|
||||||
|
print "-- It is automatically generated of action.h\n";
|
||||||
print "rb.actions = {\n";
|
print "rb.actions = {\n";
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
|
@ -30,7 +30,10 @@ else
|
||||||
ROCKS += $(LUA_BUILDDIR)/lua.rock
|
ROCKS += $(LUA_BUILDDIR)/lua.rock
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(LUA_BUILDDIR)/lua.rock: $(LUA_OBJ)
|
$(LUA_BUILDDIR)/lua.rock: $(LUA_OBJ) $(LUA_BUILDDIR)/actions.lua
|
||||||
|
|
||||||
|
$(LUA_BUILDDIR)/actions.lua:
|
||||||
|
$(call PRINTS,GEN $(@F))$(LUA_SRCDIR)/action_helper.pl $(LUA_SRCDIR) > $@
|
||||||
|
|
||||||
$(LUA_BUILDDIR)/lua.refmap: $(LUA_OBJ)
|
$(LUA_BUILDDIR)/lua.refmap: $(LUA_OBJ)
|
||||||
|
|
||||||
|
|
|
@ -409,6 +409,8 @@ STOP
|
||||||
# copy the already built lng files
|
# copy the already built lng files
|
||||||
glob_copy('apps/lang/*lng', "$rbdir/langs/");
|
glob_copy('apps/lang/*lng', "$rbdir/langs/");
|
||||||
|
|
||||||
|
# copy the .lua files
|
||||||
|
glob_copy('apps/plugins/lua/*.lua', "$rbdir/rocks/viewers/");
|
||||||
}
|
}
|
||||||
|
|
||||||
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
|
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue