summaryrefslogtreecommitdiffstats
path: root/common/entities/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'common/entities/Makefile')
-rw-r--r--common/entities/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/common/entities/Makefile b/common/entities/Makefile
index 86fcda6..f95461e 100644
--- a/common/entities/Makefile
+++ b/common/entities/Makefile
@@ -23,7 +23,8 @@ ENTFILES=$(foreach L,${PRI_LANG} ${OTHERS},entities-${L}.ent)
# entities file
#
%.ent: %.xml
- xsltproc -o $@ entities.xsl $<
+ xsltproc -o $@ --stringparam FDPCOMMONDIR "${FDPCOMMONDIR}" \
+ entities.xsl $<
#
#######################################################################
@@ -34,6 +35,10 @@ HELPFMT ="%-23s\t| %s.\n"
#######################################################################
#######################################################################
+FDPCOMMONDIR:=$(shell cd .. && /bin/pwd)
+#######################################################################
+
+#######################################################################
# WARNING: put no targets before this one!
#
.PHONY: all
@@ -134,6 +139,7 @@ showvars::
@echo "OTHERXMLFILES=${OTHERXMLFILES}"
@echo "ENTFILES=${ENTFILES}"
@echo "POFILES=${POFILES}"
+ @echo "FDPCOMMONDIR=${FDPCOMMONDIR}"
help::
@printf ${HELPFMT} "make showvars" "Show certain macro values"
#