From 6e7ee5aa90df41e9c8efa6d42c790747cfe92c67 Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Sat, 15 Jul 2006 15:20:46 +0000 Subject: Allow legalnotice hacks in a more make-friendly way when necessary, since relnotes may not be the only document in need. --- Makefile.common | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile.common') diff --git a/Makefile.common b/Makefile.common index 675b39c..83b370a 100644 --- a/Makefile.common +++ b/Makefile.common @@ -116,6 +116,9 @@ endif ifeq "${XMLLINTOPT}" "" XMLLINTOPT =--xinclude --postvalid --noent endif +ifeq "${LEGALNOTICEBASE}" "" +LEGALNOTICEBASE =legalnotice-opl +endif ######################################################################### ######################################################################### @@ -633,8 +636,9 @@ $(1)/fdp-info.xml:: $(RPMINFO) 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) >$$@ -- cgit