Add targets for sources of TPAC strings from skins
authorDan Scott <dscott@laurentian.ca>
Thu, 9 May 2013 16:16:33 +0000 (12:16 -0400)
committerDan Scott <dscott@laurentian.ca>
Thu, 9 May 2013 16:16:33 +0000 (12:16 -0400)
Primarily interested in Conifer and Laurentian skins as the most
bilingual institutions, but include others as well.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
build/i18n/Makefile

index 343909a..3c119d2 100644 (file)
@@ -33,6 +33,13 @@ SQLPOT=db.seed.pot
 SQLPO=db.seed.po
 SQLOUT=950.data.seed-values
 TPAC_SRC=../../Open-ILS/src/templates/opac/
+TPAC_CONIFER_SRC=../../Open-ILS/src/templates_conifer/opac/
+TPAC_HUNT_SRC=../../Open-ILS/src/templates_huntington/opac/
+TPAC_NOSM_SRC=../../Open-ILS/src/templates_nosm/opac/
+TPAC_OSUL_SRC=../../Open-ILS/src/templates_laurentian/opac/
+TPAC_SJCG_SRC=../../Open-ILS/src/templates_sjcg/opac/
+TPAC_SUDBURY_SRC=../../Open-ILS/src/templates_usudbury/opac/
+TPAC_WINDSOR_SRC=../../Open-ILS/src/templates_usudbury/opac/
 TT_LOCALE=../../Open-ILS/src/templates/locale/
 PROGRESS=--progress none
 
@@ -210,7 +217,7 @@ props2pot: mklocale
 
 tpac2pot: mklocale
        @mkdir -p po/tpac
-       @xgettext.pl --plugin=tt2 --directory=$(TPAC_SRC) --output-dir=po/tpac/ --output=tpac.pot
+       @xgettext.pl --plugin=tt2 --D=$(TPAC_SRC) -D=$(TPAC_CONIFER_SRC) -D=$(TPAC_HUNT_SRC) -D=$(TPAC_NOSM_SRC) -D=$(TPAC_OSUL_SRC) -D=$(TPAC_SJCG_SRC) -D=$(TPAC_SUDBURY_SRC) -D=$(TPAC_WINDSOR_SRC) --output-dir=po/tpac/ --output=tpac.pot
 
 mklocale:
        @mkdir -p locale/$(LOCALE)