docs-common/common/entities zh_CN.po,1.4,1.5
by fedora-docs-commits@redhat.com
Author: bbbush
Update of /cvs/docs/docs-common/common/entities
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5356
Modified Files:
zh_CN.po
Log Message:
update po translations
Index: zh_CN.po
===================================================================
RCS file: /cvs/docs/docs-common/common/entities/zh_CN.po,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- zh_CN.po 29 Aug 2006 21:46:42 -0000 1.4
+++ zh_CN.po 3 Sep 2006 16:27:30 -0000 1.5
@@ -1,10 +1,10 @@
msgid ""
msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
+"Project-Id-Version: fedora-docs entities 1\n"
"POT-Creation-Date: 2006-08-29 17:42-0400\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL(a)li.org>\n"
+"PO-Revision-Date: 2006-09-04 00:26+0800\n"
+"Last-Translator: Yuan Yijun <bbbush.yuan(a)gmail.com>\n"
+"Language-Team: fedora-cn <fedora-cn(a)googlegroups.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -14,225 +14,225 @@
"These common entities are useful shorthand terms and names, which may be "
"subject to change at anytime. This is an important value the the entity "
"provides: a single location to update terms and common names."
-msgstr ""
+msgstr "������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������"
#: entities-en_US.xml:7(comment) entities-en_US.xml:11(comment)
msgid "Generic root term"
-msgstr ""
+msgstr "������������"
#: entities-en_US.xml:8(text)
msgid "Fedora"
-msgstr ""
+msgstr "Fedora"
#: entities-en_US.xml:12(text)
msgid "Core"
-msgstr ""
+msgstr "Core"
#: entities-en_US.xml:15(comment)
msgid "Generic main project name"
-msgstr ""
+msgstr "���������������"
#: entities-en_US.xml:19(comment)
msgid "Legacy Entity"
-msgstr ""
+msgstr "������������"
#: entities-en_US.xml:23(comment)
msgid "Short project name"
-msgstr ""
+msgstr "������������"
#: entities-en_US.xml:24(text)
msgid "FC"
-msgstr ""
+msgstr "FC"
#: entities-en_US.xml:27(comment)
msgid "Generic overall project name"
-msgstr ""
+msgstr "���������������"
#: entities-en_US.xml:28(text)
msgid "<use entity=\"FED\"/> Project"
-msgstr ""
+msgstr "<use entity=\"FED\"/> ������"
#: entities-en_US.xml:31(comment)
msgid "Generic docs project name"
-msgstr ""
+msgstr "������������������"
#: entities-en_US.xml:32(text)
msgid "<use entity=\"FED\"/> Documentation Project"
-msgstr ""
+msgstr "<use entity=\"FED\"/> ������������"
#: entities-en_US.xml:35(comment)
msgid "Short docs project name"
-msgstr ""
+msgstr "������������������"
#: entities-en_US.xml:36(text)
msgid "<use entity=\"FED\"/> Docs Project"
-msgstr ""
+msgstr "<use entity=\"FED\"/> ������������"
#: entities-en_US.xml:39(comment)
msgid "cf. Core"
-msgstr ""
+msgstr "cf. Core"
#: entities-en_US.xml:40(text)
msgid "Extras"
-msgstr ""
+msgstr "Extras"
#: entities-en_US.xml:43(comment)
msgid "cf. Fedora Core"
-msgstr ""
+msgstr "cf. Fedora Core"
#: entities-en_US.xml:47(comment)
msgid "Fedora Docs Project URL"
-msgstr ""
+msgstr "Fedora ������������������"
#: entities-en_US.xml:51(comment)
msgid "Fedora Project URL"
-msgstr ""
+msgstr "Fedora ������������"
#: entities-en_US.xml:55(comment)
msgid "Fedora Documentation (repository) URL"
-msgstr ""
+msgstr "Fedora ������(������)������"
#: entities-en_US.xml:59(comment) entities-en_US.xml:60(text)
msgid "Bugzilla"
-msgstr ""
+msgstr "Bugzilla"
#: entities-en_US.xml:63(comment)
msgid "Bugzilla URL"
-msgstr ""
+msgstr "Bugzilla ������"
#: entities-en_US.xml:67(comment)
msgid "Bugzilla product for Fedora Docs"
-msgstr ""
+msgstr "��� Fedora ��������������� bugzilla ������"
#: entities-en_US.xml:68(text)
msgid "<use entity=\"FED\"/> Documentation"
-msgstr ""
+msgstr "<use entity=\"FED\"/> ������"
#: entities-en_US.xml:73(comment)
msgid "Current release version of main project"
-msgstr ""
+msgstr "������������������������������"
#: entities-en_US.xml:74(text)
msgid "5"
-msgstr ""
+msgstr "5"
#: entities-en_US.xml:77(comment)
msgid "Current test number of main project"
-msgstr ""
+msgstr "������������������������������"
#: entities-en_US.xml:78(text)
msgid "test3"
-msgstr ""
+msgstr "test3"
#: entities-en_US.xml:81(comment)
msgid "Current test version of main project"
-msgstr ""
+msgstr "������������������������������"
#: entities-en_US.xml:82(text)
msgid "6 <use entity=\"TESTVER\"/>"
-msgstr ""
+msgstr "6 <use entity=\"TESTVER\"/>"
#: entities-en_US.xml:87(comment)
msgid "The generic term \"Red Hat\""
-msgstr ""
+msgstr "������ \"Red Hat\""
#: entities-en_US.xml:88(text)
msgid "Red Hat"
-msgstr ""
+msgstr "Red Hat"
#: entities-en_US.xml:91(comment)
msgid "The generic term \"Red Hat, Inc.\""
-msgstr ""
+msgstr "������ \"Red Hat, Inc.\""
#: entities-en_US.xml:92(text)
msgid "<use entity=\"RH\"/> Inc."
-msgstr ""
+msgstr "<use entity=\"RH\"/> Inc."
#: entities-en_US.xml:95(comment)
msgid "The generic term \"Red Hat Linux\""
-msgstr ""
+msgstr "������ \"Red Hat Linux\""
#: entities-en_US.xml:96(text)
msgid "<use entity=\"RH\"/> Linux"
-msgstr ""
+msgstr "<use entity=\"RH\"/> Linux"
#: entities-en_US.xml:99(comment)
msgid "The generic term \"Red Hat Network\""
-msgstr ""
+msgstr "������ \"Red Hat Network\""
#: entities-en_US.xml:100(text)
msgid "<use entity=\"RH\"/> Network"
-msgstr ""
+msgstr "<use entity=\"RH\"/> Network"
#: entities-en_US.xml:103(comment)
msgid "The generic term \"Red Hat Enterprise Linux\""
-msgstr ""
+msgstr "������ \"Red Hat Enterprise Linux\""
#: entities-en_US.xml:104(text)
msgid "<use entity=\"RH\"/> Enterprise Linux"
-msgstr ""
+msgstr "<use entity=\"RH\"/> Enterprise Linux"
#: entities-en_US.xml:109(comment)
msgid "Generic technology term"
-msgstr ""
+msgstr "������������"
#: entities-en_US.xml:110(text)
msgid "SELinux"
-msgstr ""
+msgstr "SELinux"
#: entities-en_US.xml:116(text)
msgid "legalnotice-en.xml"
-msgstr ""
+msgstr "legalnotice-en.xml"
#: entities-en_US.xml:120(text)
msgid "legalnotice-content-en.xml"
-msgstr ""
+msgstr "legalnotice-content-en.xml"
#: entities-en_US.xml:124(text)
msgid "legalnotice-opl-en.xml"
-msgstr ""
+msgstr "legalnotice-opl-en.xml"
#: entities-en_US.xml:128(text)
msgid "opl.xml"
-msgstr ""
+msgstr "opl.xml"
#: entities-en_US.xml:132(text)
msgid "legalnotice-relnotes-en.xml"
-msgstr ""
+msgstr "legalnotice-relnotes-en.xml"
#: entities-en_US.xml:136(text)
msgid "legalnotice-section-en.xml"
-msgstr ""
+msgstr "legalnotice-section-en.xml"
#: entities-en_US.xml:140(text)
msgid "bugreporting-en.xml"
-msgstr ""
+msgstr "bugreporting-en.xml"
#: entities-en_US.xml:154(text)
msgid "Installation Guide"
-msgstr ""
+msgstr "������������"
#: entities-en_US.xml:158(text)
msgid "Documentation Guide"
-msgstr ""
+msgstr "������������������"
#: entities-en_US.xml:174(text)
msgid "draftnotice-en.xml"
-msgstr ""
+msgstr "draftnotice-en.xml"
#: entities-en_US.xml:178(text)
msgid "legacynotice-en.xml"
-msgstr ""
+msgstr "legacynotice-en.xml"
#: entities-en_US.xml:182(text)
msgid "obsoletenotice-en.xml"
-msgstr ""
+msgstr "obsoletenotice-en.xml"
#: entities-en_US.xml:186(text)
msgid "deprecatednotice-en.xml"
-msgstr ""
+msgstr "deprecatednotice-en.xml"
#. Put one translator per line, in the form of NAME <EMAIL>, YEAR1, YEAR2.
#: entities-en_US.xml:0(None)
msgid "translator-credits"
-msgstr ""
+msgstr "bbbush <bbbush.yuan(a)gmail.com>, 2006."
17 years, 7 months
release-notes/devel/en_US about-fedora.omf.in,1.1,1.2
by fedora-docs-commits@redhat.com
Author: pfrields
Update of /cvs/docs/release-notes/devel/en_US
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11265/en_US
Modified Files:
about-fedora.omf.in
Log Message:
OK, builds and installs... time to put it away for test3 hopefully
Index: about-fedora.omf.in
===================================================================
RCS file: /cvs/docs/release-notes/devel/en_US/about-fedora.omf.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- about-fedora.omf.in 27 Aug 2006 23:58:34 -0000 1.1
+++ about-fedora.omf.in 2 Sep 2006 05:32:24 -0000 1.2
@@ -25,7 +25,7 @@
About
</type>
<format mime="text/xml" dtd="-//OASIS//DTD DocBook XML V4.4//EN"/>
- <identifier url="file:///usr/share/doc/fedora-release-notes-@RELEASE@/about/@LANGC@/About-fedora.xml"/>
+ <identifier url="file:///usr/share/doc/fedora-release-notes-@RELEASE@/about/@LANGC@/about-fedora.xml"/>
<language code="@LANGC@"/>
<relation seriesid="7a5d3ea2-2a1e-11da-86a3-8ea47a4bb227"/>
<rights type="OPL" license="http://opencontent.org/openpub/" license.version="1.0"/>
17 years, 8 months
release-notes/devel Makefile, 1.24, 1.25 about-gnome.desktop, 1.2, 1.3 fedora-release-notes.spec, 1.15, 1.16
by fedora-docs-commits@redhat.com
Author: pfrields
Update of /cvs/docs/release-notes/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11265
Modified Files:
Makefile about-gnome.desktop fedora-release-notes.spec
Log Message:
OK, builds and installs... time to put it away for test3 hopefully
Index: Makefile
===================================================================
RCS file: /cvs/docs/release-notes/devel/Makefile,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- Makefile 2 Sep 2006 01:58:19 -0000 1.24
+++ Makefile 2 Sep 2006 05:32:24 -0000 1.25
@@ -244,12 +244,17 @@
define PKGOMF_DOC_template
.PHONY: pkgomf-${1}-${2}
+ifneq "${2}" "${PRI_LANG}"
pkgomf-${1}-${2}:: ${PKGNAME}-${VERSION}/${1}-${2}.omf
-
${PKGNAME}-${VERSION}/${1}-${2}.omf:: omf-${2}
mkdir -p ${PKGNAME}-${VERSION}
cp ${2}/${1}.omf $$@
-
+else
+pkgomf-${1}-${2}:: ${PKGNAME}-${VERSION}/${1}-C.omf
+${PKGNAME}-${VERSION}/${1}-C.omf:: omf-${2}
+ mkdir -p ${PKGNAME}-${VERSION}
+ cp ${2}/${1}.omf $$@
+endif
endef
$(foreach L,${LANGUAGES}, \
@@ -277,8 +282,7 @@
define PKGTXT_template
.PHONY: pkgtxt-${1}
-pkgtxt-${1}:: ${PKGNAME}-${VERSION}/${DOCBASE}-${1}.txt \
- ${PKGNAME}-${VERSION}/README-${1}.txt
+pkgtxt-${1}:: ${PKGNAME}-${VERSION}/${DOCBASE}-${1}.txt ${PKGNAME}-${VERSION}/README-${1}.txt
${PKGNAME}-${VERSION}/${DOCBASE}-${1}.txt:: txt-${1}
mkdir -p ${PKGNAME}-${VERSION}
cp ${DOCBASE}-${1}.txt $$@
@@ -299,10 +303,15 @@
.PHONY: release-pkg
release-pkg:: ${PKGNAME}-${VERSION}.tar.gz
-${PKGNAME}-${VERSION}.tar.gz:: $(foreach LANG,${LANGUAGES},release-pkg-${LANG})
+${PKGNAME}-${VERSION}.tar.gz:: $(foreach L,${LANGUAGES},release-pkg-${L})
+ rm -f $@
cp -a --parents css/*css fedora.css img/*png stylesheet-images/*png ${PKGNAME}-${VERSION}
- mkdir -p ${PKGNAME}-${VERSION}/about
- $(foreach L,${LANGUAGES}, $(shell cp -pr ${L}/about-fedora.xml ${PKGNAME}-${VERSION}/about)
+ mkdir -p ${PKGNAME}-${VERSION}/about/C && \
+ cp ${PRI_LANG}/about-fedora.xml ${PKGNAME}-${VERSION}/about/C
+ $(foreach LN,${OTHERS},$(eval \
+ $(shell mkdir -p ${PKGNAME}-${VERSION}/about/${LN})))
+ $(foreach LN,${OTHERS},$(eval \
+ $(shell cp ${LN}/about-fedora.xml ${PKGNAME}-${VERSION}/about/${LN})))
cp -a about-* ${PKGNAME}-${VERSION}
cp -a README-Accessibility ${PKGNAME}-${VERSION}
tar czf ${PKGNAME}-${VERSION}.tar.gz ${PKGNAME}-${VERSION}
Index: about-gnome.desktop
===================================================================
RCS file: /cvs/docs/release-notes/devel/about-gnome.desktop,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- about-gnome.desktop 16 Jul 2006 21:10:09 -0000 1.2
+++ about-gnome.desktop 2 Sep 2006 05:32:24 -0000 1.3
@@ -2,7 +2,7 @@
Encoding=UTF-8
Name=About Fedora
Comment=Learn more about Fedora
-Exec=yelp file:///usr/share/doc/fedora-release-@RELEASE@/about/C/about-fedora.xml
+Exec=yelp file:///usr/share/doc/fedora-release-notes-@RELEASE@/about/C/about-fedora.xml
Icon=fedora-logo-icon
Terminal=false
Type=Application
Index: fedora-release-notes.spec
===================================================================
RCS file: /cvs/docs/release-notes/devel/fedora-release-notes.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- fedora-release-notes.spec 2 Sep 2006 01:58:19 -0000 1.15
+++ fedora-release-notes.spec 2 Sep 2006 05:32:24 -0000 1.16
@@ -48,7 +48,10 @@
install -m 755 -D $F $RPM_BUILD_ROOT%{_defaultdocdir}/HTML/$F
done
find about/ -type f -exec install -m 644 -D {} $RPM_BUILD_ROOT%{_defaultdocdir}/fedora-release-notes-%{version}/{} \;
-install -m 644 -d *.omf $RPM_BUILD_ROOT%{_datadir}/omf/fedora-release-notes/
+install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/omf/fedora-release-notes
+install -m 644 fedora-release-notes-*.omf $RPM_BUILD_ROOT%{_datadir}/omf/fedora-release-notes/
+install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/omf/about-fedora
+install -m 644 about-*omf $RPM_BUILD_ROOT%{_datadir}/omf/about-fedora/
install -m 644 -D about-gnome.desktop $RPM_BUILD_ROOT%{_datadir}/applications/about-fedora.desktop
@@ -70,7 +73,8 @@
%{_defaultdocdir}/HTML
%{_defaultdocdir}/fedora-release-notes-%{version}/about
%{_datadir}/applications/about-fedora.desktop
-%{_datadir}/omf/fedora-release-notes/about-fedora.omf
+%{_datadir}/omf/fedora-release-notes/
+%{_datadir}/omf/about-fedora/
%changelog
17 years, 8 months
release-notes/devel Makefile, 1.23, 1.24 fedora-release-notes.spec, 1.14, 1.15
by fedora-docs-commits@redhat.com
Author: pfrields
Update of /cvs/docs/release-notes/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31073
Modified Files:
Makefile fedora-release-notes.spec
Log Message:
This still is not finished or working, but I'm still on the case...
Index: Makefile
===================================================================
RCS file: /cvs/docs/release-notes/devel/Makefile,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- Makefile 1 Sep 2006 22:27:39 -0000 1.23
+++ Makefile 2 Sep 2006 01:58:19 -0000 1.24
@@ -301,6 +301,8 @@
release-pkg:: ${PKGNAME}-${VERSION}.tar.gz
${PKGNAME}-${VERSION}.tar.gz:: $(foreach LANG,${LANGUAGES},release-pkg-${LANG})
cp -a --parents css/*css fedora.css img/*png stylesheet-images/*png ${PKGNAME}-${VERSION}
+ mkdir -p ${PKGNAME}-${VERSION}/about
+ $(foreach L,${LANGUAGES}, $(shell cp -pr ${L}/about-fedora.xml ${PKGNAME}-${VERSION}/about)
cp -a about-* ${PKGNAME}-${VERSION}
cp -a README-Accessibility ${PKGNAME}-${VERSION}
tar czf ${PKGNAME}-${VERSION}.tar.gz ${PKGNAME}-${VERSION}
Index: fedora-release-notes.spec
===================================================================
RCS file: /cvs/docs/release-notes/devel/fedora-release-notes.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- fedora-release-notes.spec 4 Aug 2006 18:24:54 -0000 1.14
+++ fedora-release-notes.spec 2 Sep 2006 01:58:19 -0000 1.15
@@ -1,6 +1,6 @@
Name: fedora-release-notes
Version: 5.91
-Release: 7
+Release: 8
Summary: Release Notes for Fedora Core %{version}
URL: http://fedoraproject.org/wiki/Docs/Beats
@@ -33,7 +33,6 @@
RELEASE-NOTES-en_US.html >> index.html
cat %{SOURCE2} >> index.html
sed -i 's/@RELEASE@/%{version}/g' about-gnome.desktop
-sed -i 's/@DATE@/%(date +"%%Y-%%m-%%d")/g;s/@RELEASE@/%{version}/g' about-fedora.omf
%install
@@ -49,7 +48,7 @@
install -m 755 -D $F $RPM_BUILD_ROOT%{_defaultdocdir}/HTML/$F
done
find about/ -type f -exec install -m 644 -D {} $RPM_BUILD_ROOT%{_defaultdocdir}/fedora-release-notes-%{version}/{} \;
-install -m 644 -D about-fedora.omf $RPM_BUILD_ROOT%{_datadir}/omf/fedora-release-notes/about-fedora.omf
+install -m 644 -d *.omf $RPM_BUILD_ROOT%{_datadir}/omf/fedora-release-notes/
install -m 644 -D about-gnome.desktop $RPM_BUILD_ROOT%{_datadir}/applications/about-fedora.desktop
@@ -75,7 +74,11 @@
%changelog
-* Fri Aug 4 2006 Paul W. Frields <stickster(a)gmail.com> - 5.91-7
+* Fri Sep 1 2006 Paul W. Frields <stickster(a)gmail.com> - 5.91-8
+- Handle i18n OMF files
+
+* Sat Aug 26 2006 Paul W. Frields <stickster(a)gmail.com> - 5.91-7
+- Add README-BURNING-ISOS.txt for inclusion in mirrors
- Put About document in proper directory
* Wed Aug 2 2006 Jesse Keating <jkeating(a)redhat.com> - 5.91-6
17 years, 8 months
release-notes/devel Makefile,1.22,1.23
by fedora-docs-commits@redhat.com
Author: pfrields
Update of /cvs/docs/release-notes/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13592
Modified Files:
Makefile
Log Message:
Make the building more template-heavy to make work easier
Index: Makefile
===================================================================
RCS file: /cvs/docs/release-notes/devel/Makefile,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- Makefile 28 Aug 2006 02:13:41 -0000 1.22
+++ Makefile 1 Sep 2006 22:27:39 -0000 1.23
@@ -8,7 +8,7 @@
#
DOCBASE = RELEASE-NOTES
PRI_LANG = en_US
-OTHERS = de el es fr_FR it ja_JP nl pa pt pt_BR ru zh_CN # cs hr ml ms sv
+OTHERS = de #el es fr_FR it ja_JP nl pa pt pt_BR ru # zh_CN cs hr ml ms sv
FDPDIR = ${PWD}/../..
# Special legalnotice for this document:
@@ -197,7 +197,7 @@
readme-${1}:: README-${1}.txt
-README-${1}.txt:: set-locale-${1} ${XMLFILES-${1}} ${XMLDEPFILES-${1}}
+README-${1}.txt::
LANG=${1}.UTF-8 ${XMLLINT} ${XMLLINTOPT} ${1}/README.xml > \
${1}/README.lint.xml
LANG=${1}.UTF-8 ${XSLTPROC} \
@@ -210,7 +210,7 @@
readme-isoburn-${1}:: README-BURNING-ISOS-${1}.txt
-README-BURNING-ISOS-${1}.txt:: set-locale-${1} ${XMLFILES-${1}} ${XMLDEPFILES-${1}}
+README-BURNING-ISOS-${1}.txt::
LANG=${1}.UTF-8 ${XMLLINT} ${XMLLINTOPT} ${1}/README-BURNING-ISOS.xml \
> ${1}/README-BURNING-ISOS.lint.xml
LANG=${1}.UTF-8 ${XSLTPROC} \
@@ -242,52 +242,63 @@
#
#########
-define PKG_template
-.PHONY: release-pkg-${1}
+define PKGOMF_DOC_template
+.PHONY: pkgomf-${1}-${2}
+pkgomf-${1}-${2}:: ${PKGNAME}-${VERSION}/${1}-${2}.omf
+
+${PKGNAME}-${VERSION}/${1}-${2}.omf:: omf-${2}
+ mkdir -p ${PKGNAME}-${VERSION}
+ cp ${2}/${1}.omf $$@
+
+endef
+
+$(foreach L,${LANGUAGES}, \
+ $(foreach F,$(patsubst ${PRI_LANG}/%.omf.in,%,${OMFINFILES}), \
+ $(eval $(call PKGOMF_DOC_template,${F},${L}))))
+
+define PKGOMF_template
+.PHONY: pkgomf-${1}
+pkgomf-${1}:: $(foreach F,$(patsubst ${PRI_LANG}/%.omf.in,%,${OMFINFILES}), \
+ pkgomf-${F}-${1})
+
+endef
+
+$(foreach L,${LANGUAGES},$(eval $(call PKGOMF_template,${L})))
+
+define PKGHTML_NOCHUNKS_template
+.PHONY: pkghtml-nochunks-${1}
+pkghtml-nochunks-${1}:: ${PKGNAME}-${VERSION}/${DOCBASE}-${1}.html
${PKGNAME}-${VERSION}/${DOCBASE}-${1}.html:: html-nochunks-${1}
mkdir -p ${PKGNAME}-${VERSION}
cp ${DOCBASE}-${1}.html $$@
+endef
+$(foreach L,${LANGUAGES},$(eval $(call PKGHTML_NOCHUNKS_template,${L})))
+
+define PKGTXT_template
+.PHONY: pkgtxt-${1}
+pkgtxt-${1}:: ${PKGNAME}-${VERSION}/${DOCBASE}-${1}.txt \
+ ${PKGNAME}-${VERSION}/README-${1}.txt
${PKGNAME}-${VERSION}/${DOCBASE}-${1}.txt:: txt-${1}
mkdir -p ${PKGNAME}-${VERSION}
cp ${DOCBASE}-${1}.txt $$@
-
+### README is hacked in until we have more control here...
${PKGNAME}-${VERSION}/README-${1}.txt:: txt-${1}
mkdir -p ${PKGNAME}-${VERSION}
cp README-${1}.txt $$@
-
-define PKGOMF_template
-$${PKGNAME}-$${VERSION}/$${1}-${1}.omf:: omf-${1}
- mkdir -p ${PKGNAME}-${VERSION}
- cp ${1}/$${1}.omf $$$$@
endef
-$(foreach F,$(patsubst ${PRI_LANG}/%.omf.in,%,${OMFINFILES}), \
- $(eval $(call PKGOMF_template,${F})))
-release-pkg-${1}:: ${PKGNAME}-${VERSION}/${DOCBASE}-${1}.html \
- ${PKGNAME}-${VERSION}/${DOCBASE}-${1}.txt \
- ${PKGNAME}-${VERSION}/README-${1}.txt \
- $(foreach F,$(patsubst ${PRI_LANG}/%.omf.in,%,${OMFINFILES}), \
- ${PKGNAME}-${VERSION}/${F}-${1}.omf)
-
-ifeq "${1}" "en_US"
-release-pkg-${1}:: ${PKGNAME}-${VERSION}/about/C/about-fedora.xml
-${PKGNAME}-${VERSION}/about/C/about-fedora.xml:: xml-${1}
- mkdir -p ${PKGNAME}-${VERSION}/about/C
- cp ${1}/about-fedora.xml $$@
-else
-release-pkg-${1}:: ${PKGNAME}-${VERSION}/about/${1}/about-fedora.xml
-${PKGNAME}-${VERSION}/about/${1}/about-fedora.xml:: xml-${1}
- mkdir -p ${PKGNAME}-${VERSION}/about/${1}
- cp ${1}/about-fedora.xml $$@
-endif
+$(foreach L,${LANGUAGES},$(eval $(call PKGTXT_template,${L})))
+define PKG_template
+.PHONY: release-pkg-${1}
+release-pkg-${1}:: pkghtml-nochunks-${1} pkgtxt-${1} pkgomf-${1}
endef
$(foreach L,${LANGUAGES},$(eval $(call PKG_template,${L})))
.PHONY: release-pkg
-release-pkg:: clean ${PKGNAME}-${VERSION}.tar.gz
+release-pkg:: ${PKGNAME}-${VERSION}.tar.gz
${PKGNAME}-${VERSION}.tar.gz:: $(foreach LANG,${LANGUAGES},release-pkg-${LANG})
cp -a --parents css/*css fedora.css img/*png stylesheet-images/*png ${PKGNAME}-${VERSION}
cp -a about-* ${PKGNAME}-${VERSION}
@@ -304,7 +315,7 @@
.PHONY: release-srpm
release-srpm:: ${PKGNAME}-${VERSION}-${PKGRELEASE}.src.rpm
-${PKGNAME}-${VERSION}-${PKGRELEASE}.src.rpm:: ${SPECFILE} ${PKGNAME}-${VERSION}.tar.gz
+${PKGNAME}-${VERSION}-${PKGRELEASE}.src.rpm:: ${SPECFILE} release-pkg
rpmbuild -bs ${PKGRPMFLAGS} ${SPECFILE}
clean::
17 years, 8 months