summaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2006-07-15 15:20:46 +0000
committerPaul W. Frields <stickster@gmail.com>2006-07-15 15:20:46 +0000
commit6e7ee5aa90df41e9c8efa6d42c790747cfe92c67 (patch)
tree728081ec2d813c6af6920ef771d4bd94a3362b39 /Makefile.common
parentecd77d697ed1318d3c7a1d7fdd4162df6a8aad04 (diff)
downloadfedora-doc-utils-6e7ee5aa90df41e9c8efa6d42c790747cfe92c67.tar.gz
fedora-doc-utils-6e7ee5aa90df41e9c8efa6d42c790747cfe92c67.tar.xz
fedora-doc-utils-6e7ee5aa90df41e9c8efa6d42c790747cfe92c67.zip
Allow legalnotice hacks in a more make-friendly way when necessary, since relnotes may not be the only document in need.
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) >$$@