Added necessary dependency between timezone files.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31416 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-07-06 02:35:34 +00:00
parent 811467dd8f
commit d1f87b6519
1 changed files with 8 additions and 4 deletions

View File

@ -9,18 +9,18 @@ rule MkZicComp
local binaries = [ FTimeZoneBinaries $(source) : true ] ;
SEARCH on $(source) = $(SEARCH_SOURCE) ;
local targetDir = $(TARGET_COMMON_DEBUG_LOCATE_TARGET) ;
targetDir = $(targetDir:G=dir) ;
# introduce a pseudo target all binaries depend on
local pseudoBinary = $(source:G=timezone-binary) ;
NotFile $(pseudoBinary) ;
Depends $(pseudoBinary) : $(binaries) ;
LocalDepends timezone_files : $(pseudoBinary) ;
Depends $(binaries) : $(source) zic $(targetDir) ;
MkZicComp1 $(binaries) : zic $(source) $(targetDir) ;
LocalClean clean : $(binaries) ;
}
@ -48,3 +48,7 @@ local nonBackwardBinaries = [ FFilter $(HAIKU_TIME_ZONE_SOURCES) : backward ] ;
nonBackwardBinaries = $(nonBackwardBinaries:G=timezone-binary) ;
Depends [ FTimeZoneBinaries [ FGristFiles backward ] ]
: $(nonBackwardBinaries) ;
# "pacificnew" links to a file from "northamerica".
Depends [ FTimeZoneBinaries [ FGristFiles pacificnew ] ]
: <timezone-binary>pacificnew ;