docs-common Makefile.common,1.106,1.107
Paul W. Frields (pfrields)
fedora-docs-commits at redhat.com
Tue Apr 11 20:03:25 UTC 2006
Author: pfrields
Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv493
Modified Files:
Makefile.common
Log Message:
Might as well use proper locales for other stuff as well; this doesn't seem to break anything and could help
Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -r1.106 -r1.107
--- Makefile.common 11 Apr 2006 20:01:42 -0000 1.106
+++ Makefile.common 11 Apr 2006 20:03:23 -0000 1.107
@@ -593,7 +593,7 @@
define fdp-info_template
$(1)/fdp-info.xml:: $(RPMINFO)
mkdir -p ${1}
- ${XSLTPROC} --stringparam lang $(1) \
+ LANG=$(1).UTF-8 ${XSLTPROC} --stringparam lang $(1) \
--stringparam fdpdir $(FDPDIR) \
--stringparam doctype $(shell \
doctype ${PRI_LANG}/$(DOCBASE).xml \
@@ -760,7 +760,7 @@
omf-$(1):: fedora-doc-${DOCBASE}-$(1).omf
fedora-doc-${DOCBASE}-$(1).omf:: ${RPMINFO}
- ${XSLTPROC} --stringparam docbase "${DOCBASE}" \
+ LANG=$(1).UTF-8 ${XSLTPROC} --stringparam docbase "${DOCBASE}" \
--stringparam lang "$(1)" \
${FDPDIR}/docs-common/packaging/omf.xsl ${RPMINFO} | \
$(XMLFORMAT) $(XMLFOPTS) >fedora-doc-${DOCBASE}-$(1).omf.tmp && \
@@ -774,8 +774,8 @@
help::
@printf ${TFMT} 'fedora-doc-${DOCBASE}-C.omf' 'Locale "EN" not the C locale'
-fedora-doc-${DOCBASE}-C.omf:: fedora-doc-${DOCBASE}-en.omf
- cp fedora-doc-$(DOCBASE)-en.omf $@
+fedora-doc-${DOCBASE}-C.omf:: fedora-doc-${DOCBASE}-en_US.omf
+ cp fedora-doc-$(DOCBASE)-en_US.omf $@
$(foreach LANG,${LANGUAGES},$(eval $(call omf_template,${LANG})))
More information about the docs-commits
mailing list