From ec0a76c84d0b1bcfdb7b7d15369ce8ca5bcd66d7 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 28 Sep 2004 17:50:36 +0000 Subject: [PATCH] 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 --- src/apps/bin/keymap/Jamfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/bin/keymap/Jamfile b/src/apps/bin/keymap/Jamfile index 7c65eb90d9..30abb88ef4 100644 --- a/src/apps/bin/keymap/Jamfile +++ b/src/apps/bin/keymap/Jamfile @@ -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 = $(keymapFile:B) ; + local binary = $(keymapFile:BG=keymap) ; MkKeymapComp $(binary) : $(keymapFile) ; }