Updated DoCatalogs rule, to apply a grist based on the target's signature and
not based on the automatic path-based grist. This (in conjunction with passing a value for the 'folder' parameter) allows multiple targets within the same source directory to have their own catalog files. Fixes #6741. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39109 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f2b7a266d7
commit
85cf9e37d6
|
@ -128,7 +128,7 @@ rule DoCatalogs target : signature : sources : sourceLanguage : regexp : folder
|
|||
HAIKU_CATALOGS_SUBDIR on $(signature) = $(subdir) ;
|
||||
|
||||
local generatedCatalog
|
||||
= [ FGristFiles $(sourceLanguage:E=en:S=.catalog) ] ;
|
||||
= $(sourceLanguage:G=$(signature):E=en:S=.catalog) ;
|
||||
MakeLocate $(generatedCatalog)
|
||||
: [ FDirName $(HAIKU_CATALOGS_OBJECT_DIR) $(subdir) ] ;
|
||||
|
||||
|
|
|
@ -29,4 +29,7 @@ DoCatalogs screenshot :
|
|||
x-vnd.haiku-screenshot-cli
|
||||
:
|
||||
Utility.cpp
|
||||
:
|
||||
:
|
||||
: cli
|
||||
;
|
||||
|
|
Loading…
Reference in New Issue