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