Piggy-back catalog attribute creation on the DoCatalogs rule. I tried to also add the corresponding resource from DoCatalogs, but so far I have not been able to make it work.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40944 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jonas Sundström 2011-03-14 02:07:50 +00:00
parent ac2d675877
commit 2e7a9f2783

View File

@ -162,6 +162,12 @@ rule DoCatalogs target : signature : sources : sourceLanguage : regexp
# For the pseudo-target catkeys
HAIKU_LOCALE_OUTPUT_CATKEYS += $(generatedCatalog:S=.catkeys) ;
# Add target catalog entry as attribute
CATALOG_ENTRY on $(target) = "$(signature):Application name:$(target)" ;
Depends $(target) : <build>addattr ;
AddCatalogEntryAttribute1 $(target)
: <build>addattr ;
}
rule AddCatalogEntryAttribute target