summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.common7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index 12a59fc..a446267 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -766,8 +766,11 @@ define LOCALE_template
.PHONY: set-locale-${1}
set-locale-${1}::
- ${LN} -f -s ${FDPDIR}/docs-common/common/entities/entities-${1}.ent \
- ${LOCALE_ENTITIES}
+ ${XSLTPROC} --stringparam FDPCOMMONDIR ${FDPDIR}/docs-common/common \
+ ${FDPDIR}/docs-common/common/entities/entities.xsl \
+ $(shell test -f ${1}/entities.xml && echo "${1}/entities.xml")\
+ ${FDPDIR}/docs-common/common/entities/entities-${1}.xml \
+ > ${LOCALE_ENTITIES}
clean::
${RM} ${LOCALE_ENTITIES}