Moved keymaps to the common place for data files like timezones
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11904 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f22f934cd8
commit
62526cc715
@ -1,8 +1,5 @@
|
||||
SubDir OBOS_TOP src apps bin keymap ;
|
||||
|
||||
NotFile keymap_files ;
|
||||
Depends files : keymap_files ;
|
||||
|
||||
BinCommand keymap :
|
||||
key_map.cpp
|
||||
Keymap.cpp
|
||||
@ -12,32 +9,3 @@ Package haiku-inputkit-cvs :
|
||||
keymap :
|
||||
boot home config bin ;
|
||||
|
||||
rule MkKeymapComp
|
||||
{
|
||||
local binary = $(1) ;
|
||||
local source = $(2) ;
|
||||
|
||||
SEARCH on $(source) = $(SEARCH_SOURCE) ;
|
||||
MakeLocate $(binary) : [ FDirName $(OBOS_ETC_DIR) Keymap ] ;
|
||||
|
||||
LocalDepends keymap_files : $(binary) ;
|
||||
Depends $(binary) : $(source) keymap ;
|
||||
MkKeymapComp1 $(binary) : keymap $(source) ;
|
||||
LocalClean clean : $(binary) ;
|
||||
}
|
||||
|
||||
actions MkKeymapComp1
|
||||
{
|
||||
$(2[1]) -o "$(1)" -c "$(2[2-])" ;
|
||||
}
|
||||
|
||||
local keymapFiles = [ GLOB $(SUBDIR) : *.keymap ] ;
|
||||
|
||||
# generate the binary file for the keymap files
|
||||
local keymapFile ;
|
||||
for keymapFile in [ FGristFiles $(keymapFiles:D=) ] {
|
||||
local binary = $(keymapFile:BG=keymap) ;
|
||||
MkKeymapComp $(binary) : $(keymapFile) ;
|
||||
Package haiku-inputkit-cvs : $(binary) : boot home config settings Keymap ;
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
SubDir OBOS_TOP src data etc ;
|
||||
|
||||
SubInclude OBOS_TOP src data etc keymaps ;
|
||||
SubInclude OBOS_TOP src data etc timezones ;
|
||||
|
34
src/data/etc/keymaps/Jamfile
Normal file
34
src/data/etc/keymaps/Jamfile
Normal file
@ -0,0 +1,34 @@
|
||||
SubDir OBOS_TOP src data etc keymaps ;
|
||||
|
||||
NotFile keymap_files ;
|
||||
Depends files : keymap_files ;
|
||||
|
||||
rule MkKeymapComp
|
||||
{
|
||||
local binary = $(1) ;
|
||||
local source = $(2) ;
|
||||
|
||||
SEARCH on $(source) = $(SEARCH_SOURCE) ;
|
||||
MakeLocate $(binary) : [ FDirName $(OBOS_ETC_DIR) Keymap ] ;
|
||||
|
||||
LocalDepends keymap_files : $(binary) ;
|
||||
Depends $(binary) : $(source) keymap ;
|
||||
MkKeymapComp1 $(binary) : keymap $(source) ;
|
||||
LocalClean clean : $(binary) ;
|
||||
}
|
||||
|
||||
actions MkKeymapComp1
|
||||
{
|
||||
$(2[1]) -o "$(1)" -c "$(2[2-])" ;
|
||||
}
|
||||
|
||||
local keymapFiles = [ GLOB $(SUBDIR) : *.keymap ] ;
|
||||
|
||||
# generate the binary file for the keymap files
|
||||
local keymapFile ;
|
||||
for keymapFile in [ FGristFiles $(keymapFiles:D=) ] {
|
||||
local binary = $(keymapFile:BG=keymap) ;
|
||||
MkKeymapComp $(binary) : $(keymapFile) ;
|
||||
Package haiku-inputkit-cvs : $(binary) : boot home config settings Keymap ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user