From e73d78f13dab25ce9209017b1d2cb018b385f564 Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Fri, 6 Apr 2007 14:35:44 +0000 Subject: Add XSLTPROCOPTS to find alternate paths for DTDs --- Makefile.common | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile.common') 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) \ -- cgit