[haiku-commits] r40944 - haiku/trunk/build/jam

  • From: jonas@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 14 Mar 2011 03:07:50 +0100 (CET)

Author: kirilla
Date: 2011-03-14 03:07:50 +0100 (Mon, 14 Mar 2011)
New Revision: 40944
Changeset: http://dev.haiku-os.org/changeset/40944

Modified:
   haiku/trunk/build/jam/LocaleRules
Log:
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.

Modified: haiku/trunk/build/jam/LocaleRules
===================================================================
--- haiku/trunk/build/jam/LocaleRules   2011-03-14 01:59:25 UTC (rev 40943)
+++ haiku/trunk/build/jam/LocaleRules   2011-03-14 02:07:50 UTC (rev 40944)
@@ -162,6 +162,12 @@
 
        # 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


Other related posts:

  • » [haiku-commits] r40944 - haiku/trunk/build/jam - jonas