docs-common Makefile.common,1.162,1.163

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Fri Apr 6 14:35:46 UTC 2007


Author: pfrields

Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31550

Modified Files:
	Makefile.common 
Log Message:
Add XSLTPROCOPTS to find alternate paths for DTDs


Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -r1.162 -r1.163
--- Makefile.common	5 Apr 2007 22:28:45 -0000	1.162
+++ Makefile.common	6 Apr 2007 14:35:44 -0000	1.163
@@ -132,6 +132,7 @@
 # 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 @@
 	${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 @@
 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)		\




More information about the Fedora-docs-commits mailing list