diff options
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Makefile.common b/Makefile.common index cbe741b..35d2ad3 100644 --- a/Makefile.common +++ b/Makefile.common @@ -344,36 +344,6 @@ help:: ######################################################################### ######################################################################### -# Rules to generate the "${LANG}/${DOC_ENTITIES}.ent" file, if used -define DOC_ENTITIES_template - -${1}/${DOC_ENTITIES}.xml:: ${1}/${FDP_ENTITIES} po/${1}.po ${PRI_LANG}/${DOC_ENTITIES}.xml - ${XML2PO} ${XML2POFLAGS} -p po/${1}.po \ - ${PRI_LANG}/${DOC_ENTITIES}.xml >$$@ - -clean:: - ${RM} ${1}/${DOC_ENTITIES}.xml - -${1}/${DOC_ENTITIES}.ent:: ${1}/${DOC_ENTITIES}.xml - -help:: - @printf ${TFMT} '${1}/${DOC_ENTITIES}.ent' 'Per-doc entities for locale "${1}"' - @printf ${TFMT} '${1}/${DOC_ENTITIES}.xml' 'Translated per-doc entities for locale "${1}"' -endef - -ifneq "${DOC_ENTITIES}" "" -${PRI_LANG}/${DOC_ENTITIES}.ent:: ${PRI_LANG}/${DOC_ENTITIES}.xml -help:: - @printf ${TFMT} '${PRI_LANG}/${DOC_ENTITIES}.ent' 'Per-doc entities for locale "${PRI_LANG}"' -$(foreach L, ${OTHERS},$(eval $(call DOC_ENTITIES_template,${L}))) - -showvars:: - @echo "DOC_ENTITIES=${DOC_ENTITIES}" -endif -# -######################################################################### - -######################################################################### po/${DOCBASE}.pot:: ${DOC_ENTITIES_XML-${PRI_LANG}} \ ${DOC_ENTITIES_ENT-${PRI_LANG}} \ ${PRI_LANG}/${FDP_ENTITIES} ${XMLFILES-${PRI_LANG}} |