Introduced a pseudo-target "catkeys", for building all of the localized
applications. The eventual goal is to have jam package a catkeys.zip, which can be provided to the application translation websites. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39090 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fcde9e72e1
commit
80ad173e89
4
Jamfile
4
Jamfile
@ -196,3 +196,7 @@ for package in $(HAIKU_ADDED_OPTIONAL_PACKAGES) {
|
||||
if $(packageError) {
|
||||
Exit ;
|
||||
}
|
||||
|
||||
# Pseudo-target to build all targets that are localized.
|
||||
NotFile catkeys ;
|
||||
Depends catkeys : $(HAIKU_LOCALIZED_TARGETS) ;
|
||||
|
@ -120,6 +120,10 @@ rule DoCatalogs target : signature : sources : sourceLanguage : regexp : folder
|
||||
# Optional: default is matching be_catalog->GetString
|
||||
# folder Optional: the subdirectory containing *.catkeys
|
||||
|
||||
# Make a note of all targets that call this rule.
|
||||
# This will be used for the pseudo-target catkeys
|
||||
HAIKU_LOCALIZED_TARGETS += $(target) ;
|
||||
|
||||
local subdir = $(SUBDIR_TOKENS[2-]) $(folder) ;
|
||||
HAIKU_CATALOGS_SUBDIR on $(signature) = $(subdir) ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user