docs-common Makefile.common,1.122,1.123

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Sat Jul 15 15:20:48 UTC 2006


Author: pfrields

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

Modified Files:
	Makefile.common 
Log Message:
Allow legalnotice hacks in a more make-friendly way when necessary, since relnotes may not be the only document in need.


Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- Makefile.common	15 Jul 2006 09:30:28 -0000	1.122
+++ Makefile.common	15 Jul 2006 15:20:46 -0000	1.123
@@ -116,6 +116,9 @@
 ifeq	"${XMLLINTOPT}" ""
 XMLLINTOPT	=--xinclude --postvalid --noent
 endif
+ifeq	"${LEGALNOTICEBASE}" ""
+LEGALNOTICEBASE	=legalnotice-opl
+endif
 #########################################################################
 
 #########################################################################
@@ -633,8 +636,9 @@
 	LANG=$(1).UTF-8 ${XSLTPROC} --stringparam lang $(1)		\
 		--stringparam fdpdir $(FDPDIR)				\
 		--stringparam doctype $(shell				\
-			doctype ${PRI_LANG}/$(DOCBASE).xml		\
-		) ${FDPDIR}/docs-common/packaging/bookinfo.xsl 		\
+			doctype ${PRI_LANG}/$(DOCBASE).xml)		\
+		--stringparam legalbase ${LEGALNOTICEBASE}		\
+		${FDPDIR}/docs-common/packaging/bookinfo.xsl 		\
 		$(RPMINFO) 					| 	\
 	$(XMLFORMAT) $(XMLFOPTS) >$$@
 




More information about the Fedora-docs-commits mailing list