mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
Improved upon r39090.
* removed the catkeys pseudo-target * created catalogs pseudo-target, which builds all catalogs & en.catkeys(.pre) * created LocalizedTargets pseudo-target, which builds all targets that have been localized. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39114 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fc13691eeb
commit
a8fcb885b0
7
Jamfile
7
Jamfile
@ -198,5 +198,8 @@ if $(packageError) {
|
||||
}
|
||||
|
||||
# Pseudo-target to build all targets that are localized.
|
||||
NotFile catkeys ;
|
||||
Depends catkeys : $(HAIKU_LOCALIZED_TARGETS) ;
|
||||
NotFile catalogs ;
|
||||
Depends catalogs : $(HAIKU_LOCALIZED_CATALOGS) ;
|
||||
|
||||
NotFile LocalizedTargets ;
|
||||
Depends LocalizedTargets : $(HAIKU_LOCALIZED_TARGETS) ;
|
||||
|
@ -119,10 +119,6 @@ rule DoCatalogs target : signature : sources : sourceLanguage : regexp
|
||||
# regexp The regular expression used to parse the files.
|
||||
# Optional: default is matching be_catalog->GetString
|
||||
|
||||
# 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 ;
|
||||
if [ on $(SUBDIR) return $(HAIKU_MULTIPLE_LOCALIZED_TARGETS) ] {
|
||||
subdir = $(SUBDIR_TOKENS[2-]) $(target) ;
|
||||
@ -157,4 +153,10 @@ rule DoCatalogs target : signature : sources : sourceLanguage : regexp
|
||||
|
||||
HAIKU_CATALOG_FILES on $(target) = $(catkeysFiles:S=.catalog) ;
|
||||
HAIKU_CATALOG_SIGNATURE on $(target) = $(signature) ;
|
||||
|
||||
# For the pseudo-target LocalizedTargets
|
||||
HAIKU_LOCALIZED_TARGETS += $(target) ;
|
||||
|
||||
# For the pseudo-target catalogs
|
||||
HAIKU_LOCALIZED_CATALOGS += $(catkeysFiles:S=.catalog) ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user