The keymap files shall depend on the "files" target only, if jam was run from an ancestor directory.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9093 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2004-09-28 17:50:36 +00:00
parent f7bc46254a
commit ec0a76c84d

View File

@ -13,7 +13,7 @@ rule MkKeymapComp
SEARCH on $(source) = $(SEARCH_SOURCE) ;
MakeLocate $(binary) : [ FDirName $(OBOS_ETC_DIR) Keymap ] ;
Depends files : $(binary) ;
LocalDepends files : $(binary) ;
Depends $(binary) : $(source) keymap ;
MkKeymapComp1 $(binary) : keymap $(source) ;
LocalClean clean : $(binary) ;
@ -29,6 +29,6 @@ local keymapFiles = [ GLOB $(SUBDIR) : *.keymap ] ;
# generate the binary file for the keymap files
local keymapFile ;
for keymapFile in [ FGristFiles $(keymapFiles:D=) ] {
local binary = <keymap>$(keymapFile:B) ;
local binary = $(keymapFile:BG=keymap) ;
MkKeymapComp $(binary) : $(keymapFile) ;
}