From 2e7a9f278338d648b56f196710212fce74571fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sundstr=C3=B6m?= Date: Mon, 14 Mar 2011 02:07:50 +0000 Subject: [PATCH] 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 --- build/jam/LocaleRules | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build/jam/LocaleRules b/build/jam/LocaleRules index d09d3eb70b..96942dff3b 100644 --- a/build/jam/LocaleRules +++ b/build/jam/LocaleRules @@ -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) : addattr ; + AddCatalogEntryAttribute1 $(target) + : addattr ; } rule AddCatalogEntryAttribute target