Paste #1HfnJUigyCZ5an2nRQJS
=== modified file 'Makefile'
| 8 | 8 | endif |
|---|---|---|
| 9 | 9 | |
| 10 | 10 | # All available translations |
| 11 | TRANSALL = $(shell basename -s .po -a desktop-guide/po/*.po) | |
| 12 | ||
| 13 | all: clean startpage html html-translations pdf pdf-translations | |
| 14 | ||
| 15 | startpage: get-translations | |
| 11 | TRANSALLUSER = $(shell basename -s .po -a desktop-guide/po/*.po) | |
| 12 | TRANSALLCONTR = $(shell basename -s .po -a contributor-docs/po/*.po) | |
| 13 | ||
| 14 | ifeq ($(TRANSALLCONTR),*) | |
| 15 | TRANSALLCONTR = | |
| 16 | endif | |
| 17 | ||
| 18 | # Translation links | |
| 19 | TRSLINKSUSER = $(shell for lang in $(TRANSLATUSER); do \ | |
| 20 | awk -v lang="$$lang" '$$1 == lang {print "\t\t\t\t\t\t<li><a href=\\\"user/" lang "/index.html\\\">" $$2 "</a></li>\\n"; f=1; exit} END {exit !f}' libs-common/language-names || \ | |
| 21 | awk -v lang="$$lang" '$$1 == "\"Language-Team:" {print "\t\t\t\t\t\t<li><a href=\\\"user/" lang "/index.html\\\">" $$2 "</a></li>\\n"; exit}' desktop-guide/po/$$lang.po; \ | |
| 22 | done | sed '$$ s/\\n$$//') | |
| 23 | ||
| 24 | TRSLINKSCONTR = $(shell for lang in $(TRANSLATCONTR); do \ | |
| 25 | awk -v lang="$$lang" '$$1 == lang {print "\t\t\t\t\t\t<li><a href=\\\"contributor/" lang "/index.html\\\">" $$2 "</a></li>\\n"; f=1; exit} END {exit !f}' libs-common/language-names || \ | |
| 26 | awk -v lang="$$lang" '$$1 == "\"Language-Team:" {print "\t\t\t\t\t\t<li><a href=\\\"contributor/" lang "/index.html\\\">" $$2 "</a></li>\\n"; exit}' contributor-docs/po/$$lang.po; \ | |
| 27 | done | sed '$$ s/\\n$$//') | |
| 28 | ||
| 29 | ifeq ($(TRSLINKSCONTR),) | |
| 30 | TRSLINKSCONTR = \1 | |
| 31 | endif | |
| 32 | ||
| 33 | all: clean startpage user-html user-html-translations user-pdf user-pdf-translations \ | |
| 34 | contributor-html contributor-html-translations contributor-pdf contributor-pdf-translations | |
| 35 | ||
| 36 | startpage: user-get-translations contributor-get-translations | |
| 16 | 37 | mkdir -p build |
| 17 | 38 | cp startpage/*.css \ |
| 18 | 39 | startpage/*.png \ |
| 19 | 40 | build/ |
| 20 | sed "s@\(<a href=\"\).*\([^/]\+/index\.html\">Official Documentation</a>\)@\1\2$(VERSION)@" startpage/xubuntu-index-start.htx > build/index.html | |
| 21 | for lang in $(TRANSLATIONS); do \ | |
| 22 | awk -v lang="$$lang" '$$1 == lang {print "\t\t\t<li><a href=\"" lang "/index.html\">" $$2 "</a></li>"; f=1; exit} END {exit !f}' desktop-guide/po/LINGUANAMES || \ | |
| 23 | awk -v lang="$$lang" '$$1 == "\"Language-Team:" {print "\t\t\t<li><a href=\"" lang "/index.html\">" $$2 "</a></li>"; exit}' desktop-guide/po/$$lang.po; \ | |
| 24 | done >> build/index.html | |
| 25 | cat startpage/xubuntu-index-end.htx >> build/index.html | |
| 41 | sed "s@<a href=\"[^\"]\+\">Official Documentation</a>@&$(VERSION)@; \ | |
| 42 | s@^\(.*\)<!-- user docs translations -->.*@$(TRSLINKSUSER)@" startpage/index.html > build/index.html | |
| 43 | sed -i "s@<a href=\"[^\"]\+\">Contributor Documentation</a>@&$(VERSION)@; \ | |
| 44 | s@^\(.*\)<!-- contributor docs translations -->.*@$(TRSLINKSCONTR)@" build/index.html | |
| 26 | 45 | |
| 27 | u |
|
| 46 | user-update-translations: | |
| 28 | 47 | ifeq ($(TRANSLATIONS),) |
| 29 | 48 | ifneq ($(wildcard desktop-guide/po/LINGUAS),) |
| 30 | 49 | cd desktop-guide; \ |
| … | ||
| 32 | 51 | endif |
| 33 | 52 | endif |
| 34 | 53 | |
| 35 | ||
| 54 | user-get-translations: user-update-translations | |
| 36 | 55 | ifeq ($(TRANSLATIONS),) |
| 37 | 56 | ifneq ($(wildcard desktop-guide/po/LINGUAS),) |
| 38 | export TRANSLATIONS = $(shell cat desktop-guide/po/LINGUAS) | |
| 39 | export TRANSOPTS = -g | |
| 40 | else | |
| 41 | export TRANSLATIONS := $(TRANSALL) | |
| 42 | export TRANSOPTS := -l "$(TRANSLATIONS)" | |
| 43 | endif | |
| 44 | else | |
| 45 | export TRANSLATIONS | |
| 46 | export TRANSOPTS := -l "$(TRANSLATIONS)" | |
| 47 | endif | |
| 48 | ||
| 49 | contributors-html: | |
| 50 | $(MAKE) -C contributor-docs html | |
| 51 | ||
| 52 | html: | |
| 57 | export TRANSLATUSER = $(shell cat desktop-guide/po/LINGUAS) | |
| 58 | export TRANSOPTSUSER = -g | |
| 59 | else | |
| 60 | export TRANSLATUSER := $(TRANSALLUSER) | |
| 61 | export TRANSOPTSUSER := -l "$(TRANSLATUSER)" | |
| 62 | endif | |
| 63 | else | |
| 64 | export TRANSLATUSER := $(TRANSLATIONS) | |
| 65 | export TRANSOPTSUSER := -l "$(TRANSLATIONS)" | |
| 66 | endif | |
| 67 | ||
| 68 | contributor-update-translations: | |
| 69 | ifeq ($(TRANSLATIONS),) | |
| 70 | ifneq ($(wildcard contributor-docs/po/LINGUAS),) | |
| 71 | cd contributor-docs; \ | |
| 72 | ../scripts/translate.sh -u | |
| 73 | endif | |
| 74 | endif | |
| 75 | ||
| 76 | contributor-get-translations: contributor-update-translations | |
| 77 | ifeq ($(TRANSLATIONS),) | |
| 78 | ifneq ($(wildcard contributor-docs/po/LINGUAS),) | |
| 79 | export TRANSLATCONTR = $(shell cat contributor-docs/po/LINGUAS) | |
| 80 | export TRANSOPTSCONTR = -g | |
| 81 | else | |
| 82 | export TRANSLATCONTR := $(TRANSALLCONTR) | |
| 83 | export TRANSOPTSCONTR := -l "$(TRANSLATCONTR)" | |
| 84 | endif | |
| 85 | else | |
| 86 | export TRANSLATCONTR := $(TRANSLATIONS) | |
| 87 | export TRANSOPTSCONTR := -l "$(TRANSLATIONS)" | |
| 88 | endif | |
| 89 | ||
| 90 | user-html: | |
| 53 | 91 | $(MAKE) -C desktop-guide html |
| 54 | 92 | |
| 55 | ||
| 93 | user-epub: | |
| 56 | 94 | $(MAKE) -C desktop-guide epub |
| 57 | 95 | |
| 58 | ||
| 96 | user-pdf: | |
| 59 | 97 | $(MAKE) -C desktop-guide pdf |
| 60 | 98 | |
| 61 | ||
| 99 | user-translate: | |
| 62 | 100 | $(MAKE) -C desktop-guide translate |
| 63 | 101 | |
| 64 | ||
| 102 | user-html-translations: | |
| 65 | 103 | $(MAKE) -C desktop-guide html-translations |
| 66 | 104 | |
| 67 | ||
| 105 | user-pdf-translations: | |
| 68 | 106 | $(MAKE) -C desktop-guide pdf-translations |
| 69 | 107 | |
| 108 | contributor-html: | |
| 109 | $(MAKE) -C contributor-docs html | |
| 110 | ||
| 111 | contributor-epub: | |
| 112 | $(MAKE) -C contributor-docs epub | |
| 113 | ||
| 114 | contributor-pdf: | |
| 115 | $(MAKE) -C contributor-docs pdf | |
| 116 | ||
| 117 | contributor-translate: | |
| 118 | $(MAKE) -C contributor-docs translate | |
| 119 | ||
| 120 | contributor-html-translations: | |
| 121 | $(MAKE) -C contributor-docs html-translations | |
| 122 | ||
| 123 | contributor-pdf-translations: | |
| 124 | $(MAKE) -C contributor-docs pdf-translations | |
| 125 | ||
| 70 | 126 | test: |
| 71 | 127 | $(MAKE) -C desktop-guide test |
| 128 | $(MAKE) -C contributor-docs test | |
| 72 | 129 | |
| 73 | 130 | src-tarball: |
| 74 | 131 | # exclude archive, VCS and backups |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | <!ENTITY % xinclude SYSTEM "../ |
|
| 6 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 7 | 7 | %xinclude; |
| 8 | 8 | <!ENTITY language "&EnglishAmerican;"> |
| 9 | 9 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-contributor-docs SYSTEM "../libs/xubuntu-contributor-docs.ent"> |
| 7 | 7 | %xubuntu-contributor-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| … | ||
| 47 | 47 | |
| 48 | 48 | <section id="launchpad-account"> |
| 49 | 49 | <title>Setting up a Launchpad account</title> |
| 50 | ||
| 51 | <para></para> | |
| 50 | 52 | </section> |
| 51 | 53 | </section> |
| 52 | 54 | |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-contributor-docs SYSTEM "../libs/xubuntu-contributor-docs.ent"> |
| 7 | 7 | %xubuntu-contributor-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-contributor-docs SYSTEM "../libs/xubuntu-contributor-docs.ent"> |
| 7 | 7 | %xubuntu-contributor-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-contributor-docs SYSTEM "../libs/xubuntu-contributor-docs.ent"> |
| 7 | 7 | %xubuntu-contributor-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| … | ||
| 24 | 24 | <listitem><para>Pasi Lallinaho (knome)</para></listitem> |
| 25 | 25 | </itemizedlist> |
| 26 | 26 | |
| 27 | <xi:include href="translator-credits.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> | |
| 28 | <xi:fallback></xi:fallback> | |
| 29 | </xi:include> | |
| 30 | <xi:include href="translators.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> | |
| 31 | <xi:fallback></xi:fallback> | |
| 32 | </xi:include> | |
| 33 | ||
| 27 | 34 | <para>This document is made available under the Creative Commons ShareAlike 2.5 License (CC-BY-SA).</para> |
| 28 | 35 | <para>You are free to modify, extend, and improve the Ubuntu documentation source code under the |
| 29 | 36 | terms of this license. All derivative works must be released under this license.</para> |
| … | ||
| 48 | 55 | |
| 49 | 56 | <para>This documentation is a reference for all Xubuntu contributors. This documentation provides information on the processes - both social and technical - that the Xubuntu contributors use.</para> |
| 50 | 57 | |
| 51 | < |
|
| 58 | <para><note><para>This documentation is written with the assumption that the user knows the basics of working with Xubuntu. For example, it's expected that the reader knows how to work with a terminal and understand when they need to use one, without an explicit mention.</para></note></para> | |
| 59 | ||
| 60 | <xi:include href="xi-pdf-files.xml" xmlns:xi="http://www.w3.org/2001/XInclude"> | |
| 61 | <xi:fallback></xi:fallback> | |
| 62 | </xi:include> | |
| 52 | 63 | </abstract> |
| 53 | 64 | </bookinfo> |
| 54 | 65 | |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-contributor-docs SYSTEM "../libs/xubuntu-contributor-docs.ent"> |
| 7 | 7 | %xubuntu-contributor-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-contributor-docs SYSTEM "../libs/xubuntu-contributor-docs.ent"> |
| 7 | 7 | %xubuntu-contributor-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | # Makefile for the Xubuntu Documentation |
|---|---|---|
| 2 | 2 | # Xubuntu Project <xubuntu-devel@lists.ubuntu.com> |
| 3 | 3 | |
| 4 | ifneq ($(TRANSLATCONTR),) | |
| 5 | TRANSLATIONS = $(TRANSLATCONTR) | |
| 6 | endif | |
| 7 | ||
| 8 | ifneq ($(TRANSOPTSCONTR),) | |
| 9 | TRANSOPTS = $(TRANSOPTSCONTR) | |
| 10 | endif | |
| 11 | ||
| 4 | 12 | # Xubuntu Docbook Customization Layers |
| 5 | XUBUNTUXSL_HTML = libs-common/xubuntu-docbook-xhtml.xsl | |
| 6 | ||
| 7 | ||
| 13 | XUBUNTUXSL_HTML = ../libs-common/xubuntu-docbook-xhtml.xsl | |
| 14 | XUBUNTUXSL_PDF = ../libs-common/xubuntu-docbook-pdf.xsl | |
| 15 | ||
| 16 | # All available translations | |
| 17 | TRANSALL = $(shell basename -s .po -a po/*.po) | |
| 18 | ||
| 19 | ifeq ($(TRANSALL),*) | |
| 20 | TRANSALL = | |
| 21 | endif | |
| 22 | ||
| 23 | all: clean html html-translations pdf pdf-translations | |
| 8 | 24 | |
| 9 | 25 | html: style |
| 10 | xsltproc --xinclude -o ../build/contributor |
|
| 26 | xsltproc --xinclude -o ../build/contributor/C/index.html $(XUBUNTUXSL_HTML) C/index.xml | |
| 27 | ||
| 28 | epub: epub-style | |
| 29 | xsltproc --xinclude -o ../build/contributor/C/ /usr/share/xml/docbook/stylesheet/nwalsh/epub3/chunk.xsl C/index.xml | |
| 30 | sed -i 's@../../libs-common@../libs@g' ../build/contributor/C/OEBPS/* | |
| 31 | cd ../build/contributor/C; \ | |
| 32 | zip -0Xq xubuntu-documentation.epub mimetype; \ | |
| 33 | zip -Xr9Dq xubuntu-documentation.epub * | |
| 34 | ||
| 35 | pdf: | |
| 36 | xsltproc --stringparam paper.type A4 --xinclude -o fo/C-A4.fo $(XUBUNTUXSL_PDF) C/index.xml | |
| 37 | ../scripts/pdf-create.sh C | |
| 11 | 38 | |
| 12 | 39 | style: |
| 13 | mkdir -p ../build/ |
|
| 40 | mkdir -p ../build/contributor/libs | |
| 14 | 41 | cp -r ../libs-common ../build/ |
| 15 | mkdir -p ../build/contributor-docs | |
| 16 | ln -s ../libs-common ../build/contributor-docs/libs-common | |
| 17 | # mkdir -p ../build/contributor-docs/libs | |
| 18 | # cp -r libs/images ../build/contributor-docs/libs/ | |
| 42 | -cp -r libs/images ../build/contributor/libs/ | |
| 19 | 43 | @touch style |
| 20 | 44 | |
| 45 | epub-style: | |
| 46 | mkdir -p ../build/contributor/C/libs/images | |
| 47 | -cp libs/images/*.png \ | |
| 48 | ../libs-common/images/*.png \ | |
| 49 | ../build/contributor/C/libs/images/ | |
| 50 | ||
| 51 | translate: | get-translations | |
| 52 | ../scripts/translate.sh $(TRANSOPTS) | |
| 53 | ../scripts/translators.sh $(TRANSOPTS) | |
| 54 | @touch translate | |
| 55 | ||
| 56 | html-translations: style translate | |
| 57 | for dir in $(TRANSLATIONS); do \ | |
| 58 | xsltproc --xinclude -o ../build/contributor/$$dir/index.html $(XUBUNTUXSL_HTML) $$dir/index.xml; \ | |
| 59 | done | |
| 60 | ||
| 61 | pdf-translations: translate | |
| 62 | for dir in $(TRANSLATIONS); do \ | |
| 63 | xsltproc --stringparam paper.type A4 --xinclude -o fo/$$dir-A4.fo $(XUBUNTUXSL_PDF) $$dir/index.xml; \ | |
| 64 | done | |
| 65 | ../scripts/pdf-create.sh $(TRANSLATIONS) | |
| 66 | ||
| 67 | test: translate | |
| 68 | set -e; \ | |
| 69 | for dir in C $(TRANSLATIONS); do \ | |
| 70 | ../scripts/validate.sh $$dir/index.xml; \ | |
| 71 | done | |
| 72 | ||
| 73 | update-translations: | |
| 74 | ifeq ($(TRANSLATIONS),) | |
| 75 | ifneq ($(wildcard po/LINGUAS),) | |
| 76 | ../scripts/translate.sh -u | |
| 77 | endif | |
| 78 | endif | |
| 79 | ||
| 80 | get-translations: update-translations | |
| 81 | ifeq ($(TRANSLATIONS),) | |
| 82 | ifneq ($(wildcard po/LINGUAS),) | |
| 83 | TRANSLATIONS = $(shell cat po/LINGUAS) | |
| 84 | TRANSOPTS = -g | |
| 85 | else | |
| 86 | TRANSLATIONS := $(TRANSALL) | |
| 87 | TRANSOPTS := -l "$(TRANSLATIONS)" | |
| 88 | endif | |
| 89 | else | |
| 90 | ifeq ($(TRANSOPTS),) | |
| 91 | TRANSOPTS := -l "$(TRANSLATIONS)" | |
| 92 | endif | |
| 93 | endif | |
| 94 | ||
| 21 | 95 | clean: |
| 22 | rm -rf ../build |
|
| 96 | rm -rf ../build/libs-common ../build/contributor $(TRANSALL) fo style translate |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE appendix PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|---|---|
| 2 | 2 | <!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" |
| 3 | 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ |
| 4 | <!ENTITY % xubuntu-common SYSTEM "../ |
|
| 4 | <!ENTITY % xubuntu-common SYSTEM "../../libs-common/xubuntu-common.ent"> | |
| 5 | 5 | %xubuntu-common; |
| 6 | 6 | <!ENTITY % xubuntu-docs SYSTEM "../libs/xubuntu-docs.ent"> |
| 7 | 7 | %xubuntu-docs; |
| 8 | <!ENTITY % xinclude SYSTEM "../ |
|
| 8 | <!ENTITY % xinclude SYSTEM "../../libs-common/xinclude.mod"> | |
| 9 | 9 | %xinclude; |
| 10 | 10 | <!ENTITY language "&EnglishAmerican;"> |
| 11 | 11 | <!ENTITY language "C"> |
| 1 | 1 | # Makefile for the Xubuntu Documentation |
|---|---|---|
| 2 | 2 | # Xubuntu Project <xubuntu-devel@lists.ubuntu.com> |
| 3 | 3 | |
| 4 | ifneq ($(TRANSLATUSER),) | |
| 5 | TRANSLATIONS = $(TRANSLATUSER) | |
| 6 | endif | |
| 7 | ||
| 8 | ifneq ($(TRANSOPTSUSER),) | |
| 9 | TRANSOPTS = $(TRANSOPTSUSER) | |
| 10 | endif | |
| 11 | ||
| 4 | 12 | # Xubuntu Docbook Customization Layers |
| 5 | XUBUNTUXSL_HTML = libs-common/xubuntu-docbook-xhtml.xsl | |
| 6 | XUBUNTUXSL_PDF = libs-common/xubuntu-docbook-pdf.xsl | |
| 13 | XUBUNTUXSL_HTML = ../libs-common/xubuntu-docbook-xhtml.xsl | |
| 14 | XUBUNTUXSL_PDF = ../libs-common/xubuntu-docbook-pdf.xsl | |
| 7 | 15 | |
| 8 | 16 | # All available translations |
| 9 | 17 | TRANSALL = $(shell basename -s .po -a po/*.po) |
| … | ||
| 11 | 19 | all: clean html html-translations pdf pdf-translations |
| 12 | 20 | |
| 13 | 21 | html: style |
| 14 | xsltproc --xinclude -o ../build/ |
|
| 22 | xsltproc --xinclude -o ../build/user/C/index.html $(XUBUNTUXSL_HTML) C/index.xml | |
| 15 | 23 | |
| 16 | epub: style-epub | |
| 17 | xsltproc --xinclude -o ../build/C/ /usr/share/xml/docbook/stylesheet/nwalsh/epub3/chunk.xsl C/index.xml | |
| 18 | cd ../build/C; \ | |
| 19 | zip -0Xq xubuntu-docs.epub mimetype; \ | |
| 20 | zip -Xr9Dq xubuntu-docs.epub * | |
| 24 | epub: epub-style | |
| 25 | xsltproc --xinclude -o ../build/user/C/ /usr/share/xml/docbook/stylesheet/nwalsh/epub3/chunk.xsl C/index.xml | |
| 26 | sed -i 's@../../libs-common@../libs@g' ../build/user/C/OEBPS/* | |
| 27 | cd ../build/user/C; \ | |
| 28 | zip -0Xq xubuntu-documentation.epub mimetype; \ | |
| 29 | zip -Xr9Dq xubuntu-documentation.epub * | |
| 21 | 30 | |
| 22 | 31 | pdf: |
| 23 | 32 | xsltproc --stringparam paper.type A4 --xinclude -o fo/C-A4.fo $(XUBUNTUXSL_PDF) C/index.xml |
| 24 | 33 | ../scripts/pdf-create.sh C |
| 25 | 34 | |
| 26 | 35 | style: |
| 27 | mkdir -p ../build/ |
|
| 36 | mkdir -p ../build/user/libs | |
| 28 | 37 | cp -r ../libs-common ../build/ |
| 29 | mkdir -p ../build/libs | |
| 30 | cp -r libs/images ../build/libs/ | |
| 38 | cp -r libs/images ../build/user/libs/ | |
| 31 | 39 | @touch style |
| 32 | 40 | |
| 33 | style-epub: | |
| 34 | mkdir -p ../build/C/libs/images | |
| 35 | cp libs/images/*.png \ | |
| 36 | libs-common/images/*.png \ | |
| 37 | ../build/C/libs/images/ | |
| 41 | epub-style: | |
| 42 | mkdir -p ../build/user/C/libs/images | |
| 43 | cp ../libs-common/images/*.png \ | |
| 44 | libs/images/*.png \ | |
| 45 | ../build/user/C/libs/images/ | |
| 38 | 46 | |
| 39 | 47 | translate: | get-translations |
| 40 | 48 | ../scripts/translate.sh $(TRANSOPTS) |
| … | ||
| 43 | 51 | |
| 44 | 52 | html-translations: style translate |
| 45 | 53 | for dir in $(TRANSLATIONS); do \ |
| 46 | xsltproc --xinclude -o ../build/ |
|
| 54 | xsltproc --xinclude -o ../build/user/$$dir/index.html $(XUBUNTUXSL_HTML) $$dir/index.xml; \ | |
| 47 | 55 | done |
| 48 | 56 | |
| 49 | 57 | pdf-translations: translate |
| … | ||
| 81 | 89 | endif |
| 82 | 90 | |
| 83 | 91 | clean: |
| 84 | rm -rf ../build |
|
| 92 | rm -rf ../build/libs-common ../build/user $(TRANSALL) fo style translate | |
| 1 | am አማርኛ | |
|---|---|---|
| 2 | ar العربية | |
| 3 | bg български | |
| 4 | bs bosanski | |
| 5 | ca català | |
| 6 | cs čeština | |
| 7 | da dansk | |
| 8 | de Deutsch | |
| 9 | en_AU English (AU) | |
| 10 | en_CA English (CA) | |
| 11 | en_GB English (GB) | |
| 12 | el ελληνικά | |
| 13 | es español | |
| 14 | et eesti | |
| 15 | eu euskara | |
| 16 | fa فارسی | |
| 17 | fi suomi | |
| 18 | fr français | |
| 19 | gl galego | |
| 20 | gu ગુજરાતી | |
| 21 | he עברית | |
| 22 | hi हिन्दी | |
| 23 | hr hrvatski | |
| 24 | hu magyar | |
| 25 | id Indonesia | |
| 26 | it italiano | |
| 27 | ja 日本語 | |
| 28 | ka ქართული | |
| 29 | kn ಕನ್ನಡ | |
| 30 | ko 한국어 | |
| 31 | lt lietuvių | |
| 32 | lv latviešu | |
| 33 | mk македонски | |
| 34 | ml മലയാളം | |
| 35 | mr मराठी | |
| 36 | ms Melayu | |
| 37 | nb norsk | |
| 38 | nl Nederlands | |
| 39 | oc occitan | |
| 40 | pa ਪੰਜਾਬੀ | |
| 41 | pl polski | |
| 42 | pt português | |
| 43 | pt_BR português (BR) | |
| 44 | ro română | |
| 45 | ru русский | |
| 46 | sk slovenčina | |
| 47 | sl slovenščina | |
| 48 | sq shqip | |
| 49 | sr српски | |
| 50 | sv svenska | |
| 51 | ta தமிழ் | |
| 52 | te తెలుగు | |
| 53 | th ไทย | |
| 54 | tr Türkçe | |
| 55 | uk українська | |
| 56 | vi tiếng việt | |
| 57 | zh_CN 中文 (中国大陆) | |
| 58 | zh_HK 中文 (香港) | |
| 59 | zh_TW 中文 (台灣) |
| 6 | 6 | produce unwanted side-effects. |
|---|---|---|
| 7 | 7 | --> |
| 8 | 8 | |
| 9 | <!ENTITY branch '<inlinemediaobject role="icon-branch"><imageobject><imagedata role="icon-pad" fileref="../libs-common/images/icon_branch.png" /></imageobject></inlinemediaobject>' > | |
| 10 | <!ENTITY package '<inlinemediaobject role="icon-pkg"><imageobject><imagedata role="icon-pad" fileref="../libs-common/images/icon_package.png" /></imageobject></inlinemediaobject>' > | |
| 11 | <!ENTITY key '<inlinemediaobject role="icon-key"><imageobject><imagedata role="icon-pad" fileref="../libs-common/images/icon_key.png" /></imageobject></inlinemediaobject>' > | |
| 12 | <!ENTITY location '<inlinemediaobject role="icon-location"><imageobject><imagedata role="icon-pad" fileref="../libs-common/images/icon_location.png"/></imageobject></inlinemediaobject>' > | |
| 9 | <!ENTITY branch '<inlinemediaobject role="icon-branch"><imageobject><imagedata role="icon-pad" fileref="../../libs-common/images/icon_branch.png" /></imageobject></inlinemediaobject>' > | |
| 10 | <!ENTITY package '<inlinemediaobject role="icon-pkg"><imageobject><imagedata role="icon-pad" fileref="../../libs-common/images/icon_package.png" /></imageobject></inlinemediaobject>' > | |
| 11 | <!ENTITY key '<inlinemediaobject role="icon-key"><imageobject><imagedata role="icon-pad" fileref="../../libs-common/images/icon_key.png" /></imageobject></inlinemediaobject>' > | |
| 12 | <!ENTITY location '<inlinemediaobject role="icon-location"><imageobject><imagedata role="icon-pad" fileref="../../libs-common/images/icon_location.png"/></imageobject></inlinemediaobject>' > | |
| 13 | 13 | |
| 14 | <!ENTITY cc-web 'http://creativecommons.org/' > | |
| 15 | 14 | No newline at end of file |
| 3 | 3 | <renderer mime="application/pdf"> |
|---|---|---|
| 4 | 4 | <fonts> |
| 5 | 5 | <!-- Droid Sans, regular --> |
| 6 | <font metrics-url=" |
|
| 6 | <font metrics-url="../libs-common/fonts/fontmetric-droidsans.xml" | |
| 7 | 7 | kerning="yes" |
| 8 | 8 | embed-url="/usr/share/fonts/truetype/droid/DroidSans.ttf"> |
| 9 | 9 | <font-triplet name="Droid Sans" style="normal" weight="normal"/> |
| 10 | 10 | </font> |
| 11 | 11 | <!-- Droid Sans, bold --> |
| 12 | <font metrics-url=" |
|
| 12 | <font metrics-url="../libs-common/fonts/fontmetric-droidsans-bold.xml" | |
| 13 | 13 | kerning="yes" |
| 14 | 14 | embed-url="/usr/share/fonts/truetype/droid/DroidSans-Bold.ttf"> |
| 15 | 15 | <font-triplet name="Droid Sans" style="normal" weight="bold"/> |
| … | ||
| 17 | 17 | <!-- Since Droid Sans doesn't have an italic style, we are using Open Sans, a derivative, as a replacement --> |
| 18 | 18 | <!-- TODO: Change font triplet name --> |
| 19 | 19 | <!-- Open Sans, italic --> |
| 20 | <font metrics-url=" |
|
| 20 | <font metrics-url="../libs-common/fonts/fontmetric-opensans-italic.xml" | |
| 21 | 21 | kerning="yes" |
| 22 | embed-url=" |
|
| 22 | embed-url="../libs-common/fonts/OpenSans-Italic.ttf"> | |
| 23 | 23 | <font-triplet name="Droid Sans" style="italic" weight="normal"/> |
| 24 | 24 | </font> |
| 25 | 25 | <!-- Open Sans, italic bold --> |
| 26 | <font metrics-url=" |
|
| 26 | <font metrics-url="../libs-common/fonts/fontmetric-opensans-bolditalic.xml" | |
| 27 | 27 | kerning="yes" |
| 28 | embed-url=" |
|
| 28 | embed-url="../libs-common/fonts/OpenSans-BoldItalic.ttf"> | |
| 29 | 29 | <font-triplet name="Droid Sans" style="italic" weight="bold"/> |
| 30 | 30 | </font> |
| 31 | 31 | <!-- Droid Sans Mono, regular --> |
| 32 | <font metrics-url=" |
|
| 32 | <font metrics-url="../libs-common/fonts/fontmetric-droidsansmono.xml" | |
| 33 | 33 | kerning="yes" |
| 34 | 34 | embed-url="/usr/share/fonts/truetype/droid/DroidSansMono.ttf"> |
| 35 | 35 | <font-triplet name="Droid Sans Mono" style="normal" weight="normal"/> |
| 146 | 146 | <xsl:template name="book.titlepage.recto"> |
|---|---|---|
| 147 | 147 | <fo:block text-align="center"> |
| 148 | 148 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title" /> |
| 149 | <fo:external-graphic src="../ |
|
| 149 | <fo:external-graphic src="../../libs-common/images/logo.svg"/> | |
| 150 | 150 | <fo:block> |
| 151 | 151 | <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright/holder"/> |
| 152 | 152 | </fo:block> |
| 13 | 13 | <xsl:param name="toc.section.depth" select="1"/> |
|---|---|---|
| 14 | 14 | <xsl:param name="chunker.output.indent" select="'yes'"/> |
| 15 | 15 | <xsl:param name="body.font.master" select="10"/> |
| 16 | <xsl:param name="html.stylesheet" select="'../ |
|
| 16 | <xsl:param name="html.stylesheet" select="'../../libs-common/css/style.css'"/> | |
| 17 | 17 | <xsl:param name="shade.verbatim" select="0"/> |
| 18 | 18 | <xsl:param name="draft.mode" select="'no'"/> |
| 19 | 19 | |
| 20 | 20 | <!-- Write HTML header --> |
| 21 | 21 | <xsl:template name="user.head.content"> |
| 22 | 22 | <!-- Favicon --> |
| 23 | <link rel="shortcut icon" href="../ |
|
| 23 | <link rel="shortcut icon" href="../../libs-common/images/favicon.png" /> | |
| 24 | 24 | <!-- Viewport meta --> |
| 25 | 25 | <meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" /> |
| 26 | 26 | <!-- Responsive design --> |
| 27 | <link rel="stylesheet" href="../libs-common/css/style-resp-950.css" media="only screen and (max-width:950px)" /> | |
| 28 | <link rel="stylesheet" href="../libs-common/css/style-resp-400.css" media="only screen and (max-width:400px)" /> | |
| 27 | <link rel="stylesheet" href="../../libs-common/css/style-resp-950.css" media="only screen and (max-width:950px)" /> | |
| 28 | <link rel="stylesheet" href="../../libs-common/css/style-resp-400.css" media="only screen and (max-width:400px)" /> | |
| 29 | 29 | </xsl:template> |
| 30 | 30 | |
| 31 | 31 | <!-- Print header with logo --> |
| … | ||
| 34 | 34 | <xsl:variable name="up" select="parent::*"/> |
| 35 | 35 | <div id="masthead"> |
| 36 | 36 | <a href="index.html"> |
| 37 | <img src="../ |
|
| 37 | <img src="../../libs-common/images/logo.png" alt="Xubuntu" /> | |
| 38 | 38 | </a> |
| 39 | 39 | </div> |
| 40 | 40 | </xsl:template> |
| 41 | 41 | |
| 42 | 42 | <!-- Navigation Graphics --> |
| 43 | 43 | <xsl:param name="navig.graphics" select="1"/> |
| 44 | <xsl:param name="navig.graphics.path" select="'../ |
|
| 44 | <xsl:param name="navig.graphics.path" select="'../../libs-common/images/'"/> | |
| 45 | 45 | <xsl:param name="navig.graphics.extension" select="'.png'"/> |
| 46 | 46 | <xsl:param name="navig.showtitles" select="1"/> |
| 47 | 47 | |
| 48 | 48 | <!-- Admon Graphics --> |
| 49 | 49 | <xsl:param name="admon.graphics" select="1"/> |
| 50 | 50 | <xsl:param name="admon.textlabel" select="0"/> |
| 51 | <xsl:param name="admon.graphics.path" select="'../ |
|
| 51 | <xsl:param name="admon.graphics.path" select="'../../libs-common/images/'"/> | |
| 52 | 52 | <xsl:param name="admon.graphics.extension" select="'.png'"/> |
| 53 | 53 | |
| 54 | 54 | <!-- Show all subpages directly below the mainpage --> |
| 1 | 1 | #!/bin/sh |
|---|---|---|
| 2 | 2 | |
| 3 | docs=$(basename -s -docs "$PWD") | |
| 4 | if [ "$docs" = "desktop-guide" ]; then | |
| 5 | docs="user" | |
| 6 | fi | |
| 7 | ||
| 3 | 8 | for lang in $@; do |
| 4 | 9 | echo "Creating PDFs for $lang ..." |
| 5 | mkdir -p ../build/$lang | |
| 6 | fop -q -c libs-common/xubuntu-docbook-pdf-fonts.xml fo/$lang-A4.fo -pdf ../build/$lang/xubuntu-documentation-A4.pdf | |
| 10 | mkdir -p "../build/$docs/$lang" | |
| 11 | fop -q -c ../libs-common/xubuntu-docbook-pdf-fonts.xml fo/$lang-A4.fo -pdf "../build/$docs/$lang/xubuntu-documentation-A4.pdf" | |
| 7 | 12 | sed 's@\(page-width\)="[^"]*" \(page-height\)="[^"]*"@\1="8.5in" \2="11in"@g' fo/$lang-A4.fo > fo/$lang-USletter.fo |
| 8 | fop -q -c libs-common/xubuntu-docbook-pdf-fonts.xml fo/$lang-USletter.fo -pdf ../build/$lang/xubuntu-documentation-USletter.pdf | |
| 9 | done | |
| 10 | 13 | No newline at end of file |
| 14 | fop -q -c ../libs-common/xubuntu-docbook-pdf-fonts.xml fo/$lang-USletter.fo -pdf "../build/$docs/$lang/xubuntu-documentation-USletter.pdf" |
| 26 | 26 | # |
|---|---|---|
| 27 | 27 | # Optional parameters: |
| 28 | 28 | # -g Translate for every language listed in po/LINGUAS |
| 29 | # -l <language> |
|
| 29 | # -l <language> ... | |
| 30 | 30 | # -u Update the list of languages in po/LINGUAS |
| 31 | 31 | # |
| 32 | 32 | |
| … | ||
| 57 | 57 | g) |
| 58 | 58 | generated="yes";; |
| 59 | 59 | l) |
| 60 | language |
|
| 60 | languages=$OPTARG;; | |
| 61 | 61 | u) |
| 62 | 62 | shipped_languages |
| 63 | 63 | exit;; |
| … | ||
| 69 | 69 | shipped_languages |
| 70 | 70 | fi |
| 71 | 71 | translate $(cat po/LINGUAS) |
| 72 | elif [ -n "$language" ]; then | |
| 73 | translate $language | |
| 72 | elif [ -n "$languages" ]; then | |
| 73 | translate $languages | |
| 74 | 74 | else |
| 75 | |
|
| 75 | languages=$(basename -s .po -a po/*.po) | |
| 76 | if [ "$languages" != "*" ]; then | |
| 77 | translate $languages | |
| 78 | fi | |
| 76 | 79 | fi |
| 18 | 18 | g) |
|---|---|---|
| 19 | 19 | generated="yes";; |
| 20 | 20 | l) |
| 21 | language |
|
| 21 | languages=$OPTARG;; | |
| 22 | 22 | esac |
| 23 | 23 | done |
| 24 | 24 | |
| … | ||
| 27 | 27 | ../scripts/translate.sh -u |
| 28 | 28 | fi |
| 29 | 29 | build_creds $(cat po/LINGUAS) |
| 30 | elif [ -n "$language" ]; then | |
| 31 | build_creds $language | |
| 30 | elif [ -n "$languages" ]; then | |
| 31 | build_creds $languages | |
| 32 | 32 | else |
| 33 | |
|
| 33 | languages=$(basename -s .po -a po/*.po) | |
| 34 | if [ "$languages" != "*" ]; then | |
| 35 | build_creds $languages | |
| 36 | fi | |
| 34 | 37 | fi |
| 35 | ||
| 26 | 26 | min-width: 580px; |
|---|---|---|
| 27 | 27 | margin: 1em auto; |
| 28 | 28 | |
| 29 | padding: 3em |
|
| 29 | padding: 3em 3em 1em; | |
| 30 | 30 | line-height: 1.5em; |
| 31 | 31 | |
| 32 | 32 | background-color: #fafafa; |
| … | ||
| 35 | 35 | box-shadow: 0 0 10px rgba( 0, 0, 0, 0.1 ); |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | ||
| 38 | .section { | |
| 39 | 39 | margin: 0 -3em; |
| 40 | 40 | padding: 0 3em 1.5em 3em; |
| 41 | border-top: 0.5em solid rgba( 0, 0, 0, 0.1 ); | |
| 42 | } | |
| 41 | 43 | |
| 44 | .documentation { | |
| 45 | margin: 0 -3em; | |
| 46 | padding: 1.8em 3em; | |
| 42 | 47 | background-color: rgba( 255, 255, 255, 0.95 ); |
| 43 | border-top: 0.5em solid rgba( 0, 0, 0, 0.1 ); | |
| 44 | 48 | } |
| 45 | #documentation h2 { | |
| 46 | border-top: none; | |
| 47 | padding-top: 0; | |
| 48 | } | |
| 49 | #documentation h3, | |
| 50 | #documentation p, | |
| 51 | |
|
| 49 | p + .documentation { | |
| 50 | margin-top: 1.8em; | |
| 51 | } | |
| 52 | .documentation h2 { | |
| 53 | margin-top: 0; | |
| 54 | } | |
| 55 | .documentation h3, | |
| 56 | .documentation p, | |
| 57 | .documentation li { | |
| 52 | 58 | font-size: 115%; |
| 53 | 59 | line-height: 1.5em; |
| 54 | 60 | } |
| … | ||
| 67 | 73 | |
| 68 | 74 | h2 { |
| 69 | 75 | margin: 1em 0; |
| 70 | padding-top: 0.5em; | |
| 71 | 76 | |
| 72 | 77 | font-size: 180%; |
| 73 | 78 | font-weight: normal; |
| 74 | 79 | line-height: 1.2em; |
| 75 | 80 | |
| 76 | border-top: 1px dotted #ccc; | |
| 77 | 81 | color: #333; |
| 78 | 82 | } |
| 79 | 83 | |
| … | ||
| 118 | 122 | list-style-type: none; |
| 119 | 123 | display: inline; |
| 120 | 124 | margin-right: 0.5em; |
| 121 | } | |
| 122 | 125 | No newline at end of file |
| 1 | </ul> | |
|---|---|---|
| 2 | </div> | |
| 3 | ||
| 4 | <h2>Other Support Methods</h2> | |
| 5 | <p>If you can't find the answer to your question in the Official Documentation, there are other ways to get help and support for Xubuntu. The complete list of support methods can be found in the <a href="http://xubuntu.org/help/">Help & Support</a> section of our website.</p> | |
| 6 | <p>To get live help, join the <a href="http://webchat.freenode.net/?channels=xubuntu&nick=xubuntu..d&prompt=1">#xubuntu</a> channel on the Freenode IRC network.</p> | |
| 7 | ||
| 8 | <p>When you are seeking for help, please note that most of the general Ubuntu help also applies to Xubuntu.</p> | |
| 9 | ||
| 10 | <h2>Get Involved</h2> | |
| 11 | <p>Xubuntu is a community-driven project, and you can be part of the community that is creating it! Releasing an operating system requires many people with different skills. Areas of development include artwork, bug triaging, documentation, development, marketing, programming, testing...</p> | |
| 12 | <p>To learn more on contributing, visit the <a href="http://xubuntu.org/contribute/">Get Involved</a> section on the Xubuntu website.</p> | |
| 13 | </div> | |
| 14 | ||
| 15 | </body> | |
| 16 | </html> |
| 1 | <!DOCTYPE html> | |
|---|---|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr"> | |
| 3 | <head> | |
| 4 | <title>Welcome to Xubuntu!</title> | |
| 5 | <meta charset="UTF-8" /> | |
| 6 | <link rel="stylesheet" href="./reset.css" /> | |
| 7 | <link rel="stylesheet" href="./style.css" /> | |
| 8 | <link rel="stylesheet" href="./style-smaller.css" media="only screen and (max-width:950px)" /> | |
| 9 | <link rel="stylesheet" href="./style-smallest.css" media="only screen and (max-width:400px)" /> | |
| 10 | <link rel="shortcut icon" href="favicon.png"> | |
| 11 | </head> | |
| 12 | ||
| 13 | <body> | |
| 14 | ||
| 15 | <div id="header"> | |
| 16 | <img src="./logo.png" alt="Xubuntu" /> | |
| 17 | </div> | |
| 18 | ||
| 19 | <div id="content"> | |
| 20 | <h1>Welcome to Xubuntu 16.04 Documentation!</h1> | |
| 21 | ||
| 22 | <div id="documentation"> | |
| 23 | <h2>Official Documentation</h2> | |
| 24 | <p>The <a href="C/index.html">Official Documentation</a> provides information on some of the most common issues with Xubuntu.</p> | |
| 25 | ||
| 26 | <h3>The documentation is available in these additional languages</h3> | |
| 27 | <ul class="inline"> |