summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index f3a14b3..4d58b51 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -132,6 +132,7 @@ endif
# Use macros to locate our commonly-used programs
XMLTO =xmlto
XSLTPROC=xsltproc
+XSLTPROCOPTS=--path ${FDPCOMMONDIR}/common/entities:${FDPCOMMONDIR}/packaging
XMLFORMAT=xmlformat
XMLFOPTS=-f $(FDPCOMMONDIR)/bin/xmlformat-fdp.conf
XMLLINT =xmllint
@@ -155,7 +156,7 @@ FDP_ENTITIES=fdp-entities.ent
${XML2PO} ${XML2POFLAGS} $< >$@
%.ent: %.xml
- ${XSLTPROC} --path "${FDPCOMMONDIR}/common/entities" -o $@.tmp \
+ ${XSLTPROC} ${XSLTPROCOPTS} -o $@.tmp \
--stringparam FDPCOMMONDIR "${FDPCOMMONDIR}/common" \
${FDPCOMMONDIR}/common/entities/entities.xsl $< && \
move-if-change $@.tmp $@
@@ -843,7 +844,7 @@ $(foreach L,${OTHERS},$(eval $(call rpm-info_template,${L})))
define fdp-info_template
$(1)/fdp-info.xml:: ${1}/$(RPMINFO)
mkdir -p ${1}
- LANG=$(1).UTF-8 ${XSLTPROC} --stringparam lang $(1) \
+ LANG=$(1).UTF-8 ${XSLTPROC} ${XSLTPROCOPTS} --stringparam lang $(1) \
--stringparam fdpcommondir $(FDPCOMMONDIR) \
--stringparam doctype $(shell \
doctype ${PRI_LANG}/$(DOCBASE).xml) \