summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common8
1 files changed, 6 insertions, 2 deletions
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) >$$@