diff options
author | Paul W. Frields <stickster@gmail.com> | 2007-04-06 14:35:44 +0000 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2007-04-06 14:35:44 +0000 |
commit | e73d78f13dab25ce9209017b1d2cb018b385f564 (patch) | |
tree | e314b70423e8bad91bc871559e3a89fcd66d5dc9 | |
parent | 3312467236821d0b5b5f893ccb68a887f64a60bd (diff) | |
download | fedora-doc-utils-e73d78f13dab25ce9209017b1d2cb018b385f564.tar.gz fedora-doc-utils-e73d78f13dab25ce9209017b1d2cb018b385f564.tar.xz fedora-doc-utils-e73d78f13dab25ce9209017b1d2cb018b385f564.zip |
Add XSLTPROCOPTS to find alternate paths for DTDs
-rw-r--r-- | Makefile.common | 5 |
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) \ |