# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR The FreeBSD Project # This file is distributed under the same license as the FreeBSD Documentation package. # Vladlen Popolitov , 2025, 2026. msgid "" msgstr "" "Project-Id-Version: FreeBSD Documentation VERSION\n" "POT-Creation-Date: 2026-02-22 15:58+0000\n" "PO-Revision-Date: 2026-02-25 04:45+0000\n" "Last-Translator: Vladlen Popolitov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" "X-Generator: Weblate 4.17\n" #. type: YAML Front Matter: description #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:1 #, no-wrap msgid "Describes the FreeBSD Documentation Build Process" msgstr "Описывает процесс сборки документации FreeBSD" #. type: YAML Front Matter: title #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:1 #, no-wrap msgid "Chapter 5. The FreeBSD Documentation Build Process" msgstr "Глава 5. Процесс сборки документации FreeBSD" #. type: Title = #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:14 #, no-wrap msgid "The FreeBSD Documentation Build Process" msgstr "Процесс сборки документации FreeBSD" #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:52 msgid "" "This chapter covers organization of the documentation build process and how " "man:make[1] is used to control it." msgstr "" "Эта глава описывает организацию процесса сборки документации и использование " "man:make[1] для управления этим процессом." #. type: Title == #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:54 #, no-wrap msgid "Rendering AsciiDoc into Output" msgstr "Преобразование AsciiDoc в выходные форматы" #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:57 msgid "" "Different types of output can be produced from a single AsciiDoc source file." msgstr "" "Из одного исходного файла AsciiDoc можно получить различные типы выходных " "данных." #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:61 #, no-wrap msgid "Formats" msgstr "Форматы" #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:62 #, no-wrap msgid "File Type" msgstr "Тип файла" #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:64 #, no-wrap msgid "Description" msgstr "Описание" #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:65 #, no-wrap msgid "`html`" msgstr "`html`" #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:66 #, no-wrap msgid "HTML" msgstr "HTML" #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:68 #, no-wrap msgid "An `article` or `book` chapter." msgstr "Глава статьи (`article`) или книги (`book`)." #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:69 #, no-wrap msgid "`pdf`" msgstr "`pdf`" #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:70 #, no-wrap msgid "PDF" msgstr "PDF" #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:72 #, no-wrap msgid "Portable Document Format." msgstr "Portable Document Format." #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:73 #, no-wrap msgid "`epub`" msgstr "`epub`" #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:74 #, no-wrap msgid "EPUB" msgstr "EPUB" #. type: Table #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:76 #, no-wrap msgid "" "Electronic Publication.\n" "ePub file format." msgstr "" "Электронная публикация.\n" "Формат файла ePub." #. type: Title === #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:79 #, no-wrap msgid "Rendering to html" msgstr "Преобразование в html" #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:82 msgid "" "To render the documentation and the website to `html` use one of the " "following examples." msgstr "" "Для преобразования документации и веб-сайта в `html` используйте один из " "следующих примеров." #. type: Block title #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:84 #, no-wrap msgid "Build the documentation" msgstr "Собрать документацию" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:91 #, no-wrap msgid "" "% cd ~/doc/documentation\n" "% make\n" msgstr "" "% cd ~/doc/documentation\n" "% make\n" #. type: Block title #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:95 #, no-wrap msgid "Build the website" msgstr "Собрать веб-сайт" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:102 #, no-wrap msgid "" "% cd ~/doc/website\n" "% make\n" msgstr "" "% cd ~/doc/website\n" "% make\n" #. type: Block title #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:106 #, no-wrap msgid "Build the entire documentation project" msgstr "Собрать весь проект документации" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:113 #, no-wrap msgid "" "% cd ~/doc\n" "% make -j2\n" msgstr "" "% cd ~/doc\n" "% make -j2\n" #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:117 msgid "Advanced build examples are given below:" msgstr "Ниже приведены примеры сложных сборок:" #. type: Block title #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:119 #, no-wrap msgid "Build English and Spanish documentation with verbose and debug messages" msgstr "Собрать документацию на английском и испанском языках с подробными и отладочными сообщениями" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:126 #, no-wrap msgid "" "% cd ~/doc/documentation\n" "% make DOC_LANG=\"en es\" HUGO_ARGS=\"--verbose --debug\"\n" msgstr "" "% cd ~/doc/documentation\n" "% make DOC_LANG=\"en es\" HUGO_ARGS=\"--verbose --debug\"\n" #. type: Block title #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:130 #, no-wrap msgid "Build and serve the content with Hugo’s internal webserver" msgstr "Собрать и предоставить контент с помощью внутреннего веб-сервера Hugo" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:137 #, no-wrap msgid "" "% cd ~/doc/documentation\n" "% make run\n" msgstr "" "% cd ~/doc/documentation\n" "% make run\n" #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:139 msgid "This webserver runs on `localhost`, port `1313` by default." msgstr "Этот веб-сервер по умолчанию работает на `localhost`, порт `1313`." #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:141 msgid "" "To serve the content with Hugo’s internal webserver binding a specific IP " "address and port:" msgstr "" "Для обслуживания контента с помощью внутреннего веб-сервера Hugo, " "привязанного к определённому IP-адресу и порту:" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:145 #, no-wrap msgid "% make run BIND=192.168.15.10 HUGO_ARGS=\"-p 8080\"\n" msgstr "% make run BIND=192.168.15.10 HUGO_ARGS=\"-p 8080\"\n" #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:148 msgid "A `hostname` can also be set as base url to Hugo’s internal webserver:" msgstr "" "Имя хоста (`hostname`) также может быть установлено в качестве базового URL " "для внутреннего веб-сервера Hugo:" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:152 #, no-wrap msgid "% make run BIND=192.168.15.10 HOSTNAME=example.com\n" msgstr "% make run BIND=192.168.15.10 HOSTNAME=example.com\n" #. type: Block title #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:156 #, no-wrap msgid "Build documentation in html for offline usage" msgstr "Сборка документации в html для использования в автономном режиме" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:163 #, no-wrap msgid "" "% cd ~/doc/documentation\n" "% make html\n" msgstr "" "% cd ~/doc/documentation\n" "% make html\n" #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:166 msgid "To compress the html output, add `DOC_HTML_ARCHIVE=1`:" msgstr "Для сжатия вывода в формате html добавьте `DOC_HTML_ARCHIVE=1`:" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:171 #, no-wrap msgid "" "% cd ~/doc/documentation\n" "% DOC_HTML_ARCHIVE=1 make html\n" msgstr "" "% cd ~/doc/documentation\n" "% DOC_HTML_ARCHIVE=1 make html\n" #. type: Title === #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:175 #, no-wrap msgid "Rendering to pdf" msgstr "Рендеринг в pdf" #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:178 msgid "" "To render the documentation to `pdf`, use one of the following examples." msgstr "" "Для преобразования документации в `pdf` используйте один из следующих " "примеров." #. type: Block title #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:180 #, no-wrap msgid "Build all documents in pdf" msgstr "Собрать все документы в pdf" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:187 #, no-wrap msgid "" "% cd ~/doc/documentation\n" "% make pdf\n" msgstr "" "% cd ~/doc/documentation\n" "% make pdf\n" #. type: Block title #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:191 #, no-wrap msgid "Build all articles in pdf" msgstr "Собрать все статьи в pdf" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:198 #, no-wrap msgid "" "% cd ~/doc/documentation\n" "% make pdf-articles\n" msgstr "" "% cd ~/doc/documentation\n" "% make pdf-articles\n" #. type: Block title #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:202 #, no-wrap msgid "Build all books in pdf" msgstr "Собрать все книги в формате pdf" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:209 #, no-wrap msgid "" "% cd ~/doc/documentation\n" "% make pdf-books\n" msgstr "" "% cd ~/doc/documentation\n" "% make pdf-books\n" #. type: Block title #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:213 #, no-wrap msgid "Build documents in pdf for specific languages" msgstr "Сборка документов в pdf для определённых языков" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:220 #, no-wrap msgid "" "% cd ~/doc/documentation\n" "% make DOC_LANG=\"en\" pdf\n" msgstr "" "% cd ~/doc/documentation\n" "% make DOC_LANG=\"en\" pdf\n" #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:222 msgid "This will build all English documents in pdf." msgstr "Это соберет все документы на английском языке в формате pdf." #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:227 #, no-wrap msgid "" "% cd ~/doc/documentation\n" "% make DOC_LANG=\"en fr\" pdf-books\n" msgstr "" "% cd ~/doc/documentation\n" "% make DOC_LANG=\"en fr\" pdf-books\n" #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:229 msgid "This will build all English and French books in pdf." msgstr "" "Это соберет все книги на английском и французском языках в формате pdf." #. type: Title == #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:232 #, no-wrap msgid "The FreeBSD Documentation Build Toolset" msgstr "Набор инструментов для сборки документации FreeBSD" #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:235 msgid "These are the tools used to build and install the FDP documentation." msgstr "Вот инструменты, используемые для сборки и установки документации FDP." #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:237 msgid "The primary build tool is man:make[1], specifically Berkeley Make." msgstr "" "Основным инструментом сборки является man:make[1], а именно Berkeley Make." #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:238 msgid "Hugo" msgstr "Hugo" #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:239 msgid "AsciiDoctor" msgstr "AsciiDoctor" #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:240 msgid "Git" msgstr "Git" #. type: Title == #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:242 #, no-wrap msgid "Understanding the Makefile in the Documentation Tree" msgstr "Информация о Makefile в дереве документации" #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:245 msgid "" "There are three [.filename]#Makefile# files for building some or all of the " "documentation project." msgstr "" "В проекте документации есть три файла [.filename]#Makefile# для сборки всей " "или части документации." #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:247 msgid "" "The [.filename]#Makefile# in the [.filename]#documentation# directory will " "build only the documentation." msgstr "" "Файл [.filename]#Makefile# в каталоге [.filename]#documentation# " "предназначен только для сборки документации." #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:248 msgid "" "The [.filename]#Makefile# in the [.filename]#website# directory will build " "only the website." msgstr "" "Файл [.filename]#Makefile# в каталоге [.filename]#website# предназначен " "только для сборки веб-сайта." #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:249 msgid "" "The [.filename]#Makefile# at the top of the tree will build both the " "documentation and the website." msgstr "" "[.filename]#Makefile# в корне дерева исходников собирает как документацию, " "так и веб-сайт." #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:252 msgid "" "The [.filename]#Makefile# appearing in subdirectories also support `make " "run` to serve built content with Hugo's internal webserver. This webserver " "runs on port 1313 by default." msgstr "" "Файл [.filename]#Makefile# в подкаталогах также поддерживает `make run` для " "обслуживания собранного содержимого с помощью внутреннего веб-сервера Hugo. " "По умолчанию этот веб-сервер работает на порту 1313." #. type: Title === #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:254 #, no-wrap msgid "Documentation Makefile" msgstr "Makefile в каталоге documentation" #. type: delimited block = 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:257 msgid "This [.filename]#Makefile# takes the following form:" msgstr "Этот [.filename]#Makefile# имеет следующую форму:" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:282 #, no-wrap msgid "" "# Generate the FreeBSD documentation\n" "#\n" "# Copyright (c) 2020-2026, The FreeBSD Documentation Project\n" "# Copyright (c) 2020-2026, Sergio Carlavilla \n" "#\n" "# Targets intended for use on the command line\n" "#\n" "# all (default)\t-\tgenerate the books TOC and compile all the documentation\n" "# clean\t\t- \tremoves generated files\n" "# run\t\t-\tserves the built documentation site for local browsing\n" "# pdf\t\t-\tbuild PDF versions of the articles and books.\n" "# html\t\t-\tbuild HTML versions of the articles and books for\n" "#\t\t\toffline use.\n" "#\t\t\tIf variable DOC_HTML_ARCHIVE is set, all documents will be\n" "#\t\t\tarchived/compressed, and only these files will be kept in the public\n" "#\t\t\tdirectory.\n" "# epub\t\t-\tbuild EPUB versions of the articles and books (Experimental).\n" "#\n" "# The run target uses hugo's built-in webserver to make the documentation site\n" "# available for local browsing. The documentation should have been built prior\n" "# to attempting to use the `run` target. By default, hugo will start its\n" "# webserver on port 1313.\n" msgstr "" "# Generate the FreeBSD documentation\n" "#\n" "# Copyright (c) 2020-2026, The FreeBSD Documentation Project\n" "# Copyright (c) 2020-2026, Sergio Carlavilla \n" "#\n" "# Targets intended for use on the command line\n" "#\n" "# all (default)\t-\tgenerate the books TOC and compile all the " "documentation\n" "# clean\t\t- \tremoves generated files\n" "# run\t\t-\tserves the built documentation site for local browsing\n" "# pdf\t\t-\tbuild PDF versions of the articles and books.\n" "# html\t\t-\tbuild HTML versions of the articles and books for\n" "#\t\t\toffline use.\n" "#\t\t\tIf variable DOC_HTML_ARCHIVE is set, all documents will be\n" "#\t\t\tarchived/compressed, and only these files will be kept in the public\n" "#\t\t\tdirectory.\n" "# epub\t\t-\tbuild EPUB versions of the articles and books (Experimental).\n" "#\n" "# The run target uses hugo's built-in webserver to make the documentation " "site\n" "# available for local browsing. The documentation should have been built " "prior\n" "# to attempting to use the `run` target. By default, hugo will start its\n" "# webserver on port 1313.\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:284 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:566 #, no-wrap msgid "MAINTAINER=carlavilla@FreeBSD.org <.>\n" msgstr "MAINTAINER=carlavilla@FreeBSD.org <.>\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:289 #, no-wrap msgid "" "# List of languages without book translations\n" "ARTICLEONLY_LANGS=\tbn-bd da ko tr\n" "# List of languages without article translations\n" "BOOKONLY_LANGS=\t\tmn\n" msgstr "" "# List of languages without book translations\n" "ARTICLEONLY_LANGS=\tbn-bd da ko tr\n" "# List of languages without article translations\n" "BOOKONLY_LANGS=\t\tmn\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:292 #, no-wrap msgid "" "# List of all languages we have content for\n" "ALL_LANGUAGES=\tbn-bd da de el en es fr hu it ja ko mn nl pl pt-br ru tr zh-cn zh-tw <.>\n" msgstr "" "# List of all languages we have content for\n" "ALL_LANGUAGES=\tbn-bd da de el en es fr hu it ja ko mn nl pl pt-br ru tr zh-cn zh-tw <.>\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:294 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:571 #, no-wrap msgid "LOCALBASE?=\t/usr/local\n" msgstr "LOCALBASE?=\t/usr/local\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:301 #, no-wrap msgid "" "RUBY_CMD =\t${LOCALBASE}/bin/ruby <.>\n" "HUGO_CMD =\t${LOCALBASE}/bin/hugo <.>\n" "HUGO_ARGS?=\t--verbose --minify\n" "HUGO_OFFLINE_ARGS?= \t--environment offline --verbose --minify\n" "ASCIIDOCTOR_CMD=\t${LOCALBASE}/bin/asciidoctor\n" "ASCIIDOCTORPDF_CMD=\t${LOCALBASE}/bin/asciidoctor-pdf\n" msgstr "" "RUBY_CMD =\t${LOCALBASE}/bin/ruby <.>\n" "HUGO_CMD =\t${LOCALBASE}/bin/hugo <.>\n" "HUGO_ARGS?=\t--verbose --minify\n" "HUGO_OFFLINE_ARGS?= \t--environment offline --verbose --minify\n" "ASCIIDOCTOR_CMD=\t${LOCALBASE}/bin/asciidoctor\n" "ASCIIDOCTORPDF_CMD=\t${LOCALBASE}/bin/asciidoctor-pdf\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:311 #, no-wrap msgid "" ".if defined(DOC_LANG) && !empty(DOC_LANG)\n" "LANGUAGES=\t${DOC_LANG:S/,/ /g}\n" ".if ${LANGUAGES:Men} == \"\" && ${.TARGETS:Mpdf*} == \"\" && ${.TARGETS:Mhtml*} == \"\"\n" ".warning \"Warning: cannot skip 'en'; adding it back\"\n" "LANGUAGES+=\ten\n" ".endif\n" ".else\n" "LANGUAGES=\t${ALL_LANGUAGES}\n" ".endif\n" msgstr "" ".if defined(DOC_LANG) && !empty(DOC_LANG)\n" "LANGUAGES=\t${DOC_LANG:S/,/ /g}\n" ".if ${LANGUAGES:Men} == \"\" && ${.TARGETS:Mpdf*} == \"\" && ${.TARGETS:Mhtml*} == \"\"\n" ".warning \"Warning: cannot skip 'en'; adding it back\"\n" "LANGUAGES+=\ten\n" ".endif\n" ".else\n" "LANGUAGES=\t${ALL_LANGUAGES}\n" ".endif\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:314 #, no-wrap msgid "" "RUBYLIB =\t../shared/lib\n" ".export\tRUBYLIB\n" msgstr "" "RUBYLIB =\t../shared/lib\n" ".export\tRUBYLIB\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:318 #, no-wrap msgid "" "RUN_DEPENDS=\t${HUGO_CMD} \\\n" "\t\t${LOCALBASE}/bin/asciidoctor \\\n" "\t\t${LOCALBASE}/bin/rougify\n" msgstr "" "RUN_DEPENDS=\t${HUGO_CMD} \\\n" "\t\t${LOCALBASE}/bin/asciidoctor \\\n" "\t\t${LOCALBASE}/bin/rougify\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:328 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:587 #, no-wrap msgid "" ".ifndef HOSTNAME\n" ". ifdef BIND\n" ".HOST=$(BIND)\n" ". else\n" ".HOST=localhost\n" ". endif\n" ".else\n" ".HOST=$(HOSTNAME)\n" ".endif\n" msgstr "" ".ifndef HOSTNAME\n" ". ifdef BIND\n" ".HOST=$(BIND)\n" ". else\n" ".HOST=localhost\n" ". endif\n" ".else\n" ".HOST=$(HOSTNAME)\n" ".endif\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:335 #, no-wrap msgid "" "# Strip the languages with only articles from the list of languages we\n" "# will use to build books.\n" "BOOK_LANGS= ${LANGUAGES}\n" ".for a in ${ARTICLEONLY_LANGS}\n" "BOOK_LANGS:=\t${BOOK_LANGS:N${a}}\n" ".endfor\n" msgstr "" "# Strip the languages with only articles from the list of languages we\n" "# will use to build books.\n" "BOOK_LANGS= ${LANGUAGES}\n" ".for a in ${ARTICLEONLY_LANGS}\n" "BOOK_LANGS:=\t${BOOK_LANGS:N${a}}\n" ".endfor\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:342 #, no-wrap msgid "" "# Strip the languages with only books from the list of languages we\n" "# will use to build articles.\n" "ARTICLE_LANGS= ${LANGUAGES}\n" ".for a in ${BOOKONLY_LANGS}\n" "ARTICLE_LANGS:=\t${ARTICLE_LANGS:N${a}}\n" ".endfor\n" msgstr "" "# Strip the languages with only books from the list of languages we\n" "# will use to build articles.\n" "ARTICLE_LANGS= ${LANGUAGES}\n" ".for a in ${BOOKONLY_LANGS}\n" "ARTICLE_LANGS:=\t${ARTICLE_LANGS:N${a}}\n" ".endfor\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:351 #, no-wrap msgid "" "# Take the list of all languages, and take out the ones we have been\n" "# asked for. We'll feed this to hugo.\n" "SKIP_LANGS=\n" ".for a in ${ALL_LANGUAGES}\n" ".if ${LANGUAGES:M${a}} == \"\"\n" "SKIP_LANGS+= ${a}\n" ".endif\n" ".endfor\n" msgstr "" "# Take the list of all languages, and take out the ones we have been\n" "# asked for. We'll feed this to hugo.\n" "SKIP_LANGS=\n" ".for a in ${ALL_LANGUAGES}\n" ".if ${LANGUAGES:M${a}} == \"\"\n" "SKIP_LANGS+= ${a}\n" ".endif\n" ".endfor\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:353 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:608 #, no-wrap msgid ".ORDER: all run <.>\n" msgstr ".ORDER: all run <.>\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:358 #, no-wrap msgid "" ".ORDER: requirements <.>\n" ".ORDER: starting-message\n" ".ORDER: starting-message build\n" ".ORDER: build\n" msgstr "" ".ORDER: requirements <.>\n" ".ORDER: starting-message\n" ".ORDER: starting-message build\n" ".ORDER: build\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:361 #, no-wrap msgid "" "all: requirements starting-message generate-pgpkeys-txt build\n" "run: requirements starting-message generate-pgpkeys-txt run-local\n" msgstr "" "all: requirements starting-message generate-pgpkeys-txt build\n" "run: requirements starting-message generate-pgpkeys-txt run-local\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:364 #, no-wrap msgid "" "# clean does not call pdf-clean as that is a subset of hugo-clean\n" "clean: hugo-clean pgp-clean\n" msgstr "" "# clean does not call pdf-clean as that is a subset of hugo-clean\n" "clean: hugo-clean pgp-clean\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:371 #, no-wrap msgid "" "requirements:\n" ".for dep in ${RUN_DEPENDS}\n" ".if !exists(${dep})\n" "\t@(echo ${dep} not found, please run 'pkg install docproj'; exit 1)\n" ".endif\n" ".endfor\n" msgstr "" "requirements:\n" ".for dep in ${RUN_DEPENDS}\n" ".if !exists(${dep})\n" "\t@(echo ${dep} not found, please run 'pkg install docproj'; exit 1)\n" ".endif\n" ".endfor\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:376 #, no-wrap msgid "" "requirements-pdf:\n" ".if !exists(${LOCALBASE}/bin/asciidoctor-pdf)\n" "\t@(echo ${LOCALBASE}/bin/asciidoctor-pdf not found, please run 'pkg install rubygem-asciidoctor-pdf'; exit 1)\n" ".endif\n" msgstr "" "requirements-pdf:\n" ".if !exists(${LOCALBASE}/bin/asciidoctor-pdf)\n" "\t@(echo ${LOCALBASE}/bin/asciidoctor-pdf not found, please run 'pkg install rubygem-asciidoctor-pdf'; exit 1)\n" ".endif\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:381 #, no-wrap msgid "" "requirements-epub:\n" ".if !exists(${LOCALBASE}/bin/asciidoctor-epub3)\n" "\t@(echo ${LOCALBASE}/bin/asciidoctor-epub3 not found, please run 'pkg install rubygem-asciidoctor-epub3'; exit 1)\n" ".endif\n" msgstr "" "requirements-epub:\n" ".if !exists(${LOCALBASE}/bin/asciidoctor-epub3)\n" "\t@(echo ${LOCALBASE}/bin/asciidoctor-epub3 not found, please run 'pkg install rubygem-asciidoctor-epub3'; exit 1)\n" ".endif\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:388 #, no-wrap msgid "" "starting-message: .PHONY <.>\n" "\t@echo ---------------------------------------------------------------\n" "\t@echo Building the documentation\n" "\t@echo included languages: ${LANGUAGES}\n" "\t@echo excluded languages: ${SKIP_LANGS}\n" "\t@echo ---------------------------------------------------------------\n" msgstr "" "starting-message: .PHONY <.>\n" "\t@echo ---------------------------------------------------------------\n" "\t@echo Building the documentation\n" "\t@echo included languages: ${LANGUAGES}\n" "\t@echo excluded languages: ${SKIP_LANGS}\n" "\t@echo ---------------------------------------------------------------\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:390 #, no-wrap msgid "generate-pgpkeys-txt: static/pgpkeys/pgpkeys.txt\n" msgstr "generate-pgpkeys-txt: static/pgpkeys/pgpkeys.txt\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:393 #, no-wrap msgid "" "static/pgpkeys/pgpkeys.txt: static/pgpkeys/*key\n" "\t${RUBY_CMD} ./tools/global-pgpkeys-creator.rb\n" msgstr "" "static/pgpkeys/pgpkeys.txt: static/pgpkeys/*key\n" "\t${RUBY_CMD} ./tools/global-pgpkeys-creator.rb\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:397 #, no-wrap msgid "" "run-local: .PHONY <.>\n" "\tHUGO_DISABLELANGUAGES=\"${SKIP_LANGS}\" ${HUGO_CMD} server \\\n" "\t\t${HUGO_ARGS} -D $(BIND:D--bind=$(BIND)) --baseURL=\"http://$(.HOST):1313\"\n" msgstr "" "run-local: .PHONY <.>\n" "\tHUGO_DISABLELANGUAGES=\"${SKIP_LANGS}\" ${HUGO_CMD} server \\\n" "\t\t${HUGO_ARGS} -D $(BIND:D--bind=$(BIND)) --baseURL=\"http://$(.HOST):1313\"\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:400 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:642 #, no-wrap msgid "" "build: .PHONY <.>\n" "\tHUGO_DISABLELANGUAGES=\"${SKIP_LANGS}\" ${HUGO_CMD} ${HUGO_ARGS}\n" msgstr "" "build: .PHONY <.>\n" "\tHUGO_DISABLELANGUAGES=\"${SKIP_LANGS}\" ${HUGO_CMD} ${HUGO_ARGS}\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:403 #, no-wrap msgid "" "build-offline: .PHONY\n" "\tHUGO_DISABLELANGUAGES=\"${SKIP_LANGS}\" ${HUGO_CMD} ${HUGO_OFFLINE_ARGS}\n" msgstr "" "build-offline: .PHONY\n" "\tHUGO_DISABLELANGUAGES=\"${SKIP_LANGS}\" ${HUGO_CMD} ${HUGO_OFFLINE_ARGS}\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:406 #, no-wrap msgid "" "pgp-clean: .PHONY\n" "\trm -f static/pgpkeys/pgpkeys.txt\n" msgstr "" "pgp-clean: .PHONY\n" "\trm -f static/pgpkeys/pgpkeys.txt\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:409 #, no-wrap msgid "" "hugo-clean: .PHONY\n" "\trm -rf resources public\n" msgstr "" "hugo-clean: .PHONY\n" "\trm -rf resources public\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:415 #, no-wrap msgid "" "#\n" "# PDF targets\n" "# Use DOC_LANG to choose the language, e.g., make DOC_LANG=\"en fr\" pdf-books\n" "#\n" "pdf: pdf-articles pdf-books\n" msgstr "" "#\n" "# PDF targets\n" "# Use DOC_LANG to choose the language, e.g., make DOC_LANG=\"en fr\" pdf-books\n" "#\n" "pdf: pdf-articles pdf-books\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:420 #, no-wrap msgid "" "pdf-books: requirements-pdf\n" ".for _lang in ${BOOK_LANGS}\n" "\t./tools/asciidoctor.sh books ${_lang} pdf\n" ".endfor\n" msgstr "" "pdf-books: requirements-pdf\n" ".for _lang in ${BOOK_LANGS}\n" "\t./tools/asciidoctor.sh books ${_lang} pdf\n" ".endfor\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:425 #, no-wrap msgid "" "pdf-articles: requirements-pdf\n" ".for _lang in ${ARTICLE_LANGS}\n" "\t./tools/asciidoctor.sh articles ${_lang} pdf\n" ".endfor\n" msgstr "" "pdf-articles: requirements-pdf\n" ".for _lang in ${ARTICLE_LANGS}\n" "\t./tools/asciidoctor.sh articles ${_lang} pdf\n" ".endfor\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:427 #, no-wrap msgid "pdf-clean: pdf-articles-clean pdf-books-clean\n" msgstr "pdf-clean: pdf-articles-clean pdf-books-clean\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:434 #, no-wrap msgid "" "pdf-books-clean:\n" ".for _lang in ${BOOK_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/books\n" "\t-rmdir ${.CURDIR}/public/${_lang}\n" ".endfor\n" "\t-rmdir ${.CURDIR}/public/\n" msgstr "" "pdf-books-clean:\n" ".for _lang in ${BOOK_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/books\n" "\t-rmdir ${.CURDIR}/public/${_lang}\n" ".endfor\n" "\t-rmdir ${.CURDIR}/public/\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:443 #, no-wrap msgid "" "pdf-articles-clean:\n" ".for _lang in ${ARTICLE_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/articles\n" ".if !exists(${.CURDIR}/public/${_lang}/books)\n" "\trm -fr ${.CURDIR}/public/${_lang}\n" ".endif\n" ".endfor\n" "\t-rmdir ${.CURDIR}/public\n" msgstr "" "pdf-articles-clean:\n" ".for _lang in ${ARTICLE_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/articles\n" ".if !exists(${.CURDIR}/public/${_lang}/books)\n" "\trm -fr ${.CURDIR}/public/${_lang}\n" ".endif\n" ".endfor\n" "\t-rmdir ${.CURDIR}/public\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:448 #, no-wrap msgid "" "#\n" "# HTML targets\n" "#\n" "html: build-offline html-clean-global html-clean-articles html-clean-books html-archive html-archive-clean-files\n" msgstr "" "#\n" "# HTML targets\n" "#\n" "html: build-offline html-clean-global html-clean-articles html-clean-books html-archive html-archive-clean-files\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:450 #, no-wrap msgid "html-clean: hugo-clean\n" msgstr "html-clean: hugo-clean\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:454 #, no-wrap msgid "" "html-clean-global:\n" "\trm -fr ${.CURDIR}/public/index.html\n" "\trm -rf pgpkeys js\n" msgstr "" "html-clean-global:\n" "\trm -fr ${.CURDIR}/public/index.html\n" "\trm -rf pgpkeys js\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:460 #, no-wrap msgid "" "html-clean-articles:\n" ".for _lang in ${ARTICLE_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/index.html\n" "\trm -fr ${.CURDIR}/public/${_lang}/articles/index.html\n" ".endfor\n" msgstr "" "html-clean-articles:\n" ".for _lang in ${ARTICLE_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/index.html\n" "\trm -fr ${.CURDIR}/public/${_lang}/articles/index.html\n" ".endfor\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:465 #, no-wrap msgid "" "html-clean-books:\n" ".for _lang in ${BOOK_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/books/index.html\n" ".endfor\n" msgstr "" "html-clean-books:\n" ".for _lang in ${BOOK_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/books/index.html\n" ".endfor\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:475 #, no-wrap msgid "" "html-archive:\n" ".if defined(DOC_HTML_ARCHIVE)\n" ".for _lang in ${ARTICLE_LANGS}\n" "\t./tools/asciidoctor.sh articles ${_lang} archive\n" ".endfor\n" ".for _lang in ${BOOK_LANGS}\n" "\t./tools/asciidoctor.sh books ${_lang} archive\n" ".endfor\n" ".endif\n" msgstr "" "html-archive:\n" ".if defined(DOC_HTML_ARCHIVE)\n" ".for _lang in ${ARTICLE_LANGS}\n" "\t./tools/asciidoctor.sh articles ${_lang} archive\n" ".endfor\n" ".for _lang in ${BOOK_LANGS}\n" "\t./tools/asciidoctor.sh books ${_lang} archive\n" ".endfor\n" ".endif\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:481 #, no-wrap msgid "" "html-archive-clean-files:\n" ".if defined(DOC_HTML_ARCHIVE)\n" "\tfind ${.CURDIR}/public/ ! -name '*.pdf' ! -name '*.tar.gz' -type f -delete\n" "\tfind ${.CURDIR}/public/ -type d -empty -delete\n" ".endif\n" msgstr "" "html-archive-clean-files:\n" ".if defined(DOC_HTML_ARCHIVE)\n" "\tfind ${.CURDIR}/public/ ! -name '*.pdf' ! -name '*.tar.gz' -type f -delete\n" "\tfind ${.CURDIR}/public/ -type d -empty -delete\n" ".endif\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:487 #, no-wrap msgid "" "#\n" "# EPUB targets\n" "# Use DOC_LANG to choose the language, e.g., make DOC_LANG=\"en fr\" epub-books\n" "#\n" "epub: epub-articles epub-books\n" msgstr "" "#\n" "# EPUB targets\n" "# Use DOC_LANG to choose the language, e.g., make DOC_LANG=\"en fr\" epub-books\n" "#\n" "epub: epub-articles epub-books\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:500 #, no-wrap msgid "" "epub-books: requirements-epub\n" "\t@echo ---------------------------------------------------------------\n" "\t@echo !!! EPUB output is experimental !!!\n" "\t@echo\n" "\t@echo Asciidoctor EPUB3 is currently alpha software. Use accordingly. Although the\n" "\t@echo bulk of AsciiDoc content is converted, there’s still work needed to fill in\n" "\t@echo gaps where conversion is incomplete or unstyled.\n" "\t@echo https://docs.asciidoctor.org/epub3-converter/latest/#project-status\n" "\t@echo ---------------------------------------------------------------\n" ".for _lang in ${BOOK_LANGS}\n" "\t./tools/asciidoctor.sh books ${_lang} epub\n" ".endfor\n" msgstr "" "epub-books: requirements-epub\n" "\t@echo ---------------------------------------------------------------\n" "\t@echo !!! EPUB output is experimental !!!\n" "\t@echo\n" "\t@echo Asciidoctor EPUB3 is currently alpha software. Use accordingly. Although the\n" "\t@echo bulk of AsciiDoc content is converted, there’s still work needed to fill in\n" "\t@echo gaps where conversion is incomplete or unstyled.\n" "\t@echo https://docs.asciidoctor.org/epub3-converter/latest/#project-status\n" "\t@echo ---------------------------------------------------------------\n" ".for _lang in ${BOOK_LANGS}\n" "\t./tools/asciidoctor.sh books ${_lang} epub\n" ".endfor\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:513 #, no-wrap msgid "" "epub-articles: requirements-epub\n" "\t@echo ---------------------------------------------------------------\n" "\t@echo !!! EPUB output is experimental !!!\n" "\t@echo\n" "\t@echo Asciidoctor EPUB3 is currently alpha software. Use accordingly. Although the\n" "\t@echo bulk of AsciiDoc content is converted, there’s still work needed to fill in\n" "\t@echo gaps where conversion is incomplete or unstyled.\n" "\t@echo https://docs.asciidoctor.org/epub3-converter/latest/#project-status\n" "\t@echo ---------------------------------------------------------------\n" ".for _lang in ${ARTICLE_LANGS}\n" "\t./tools/asciidoctor.sh articles ${_lang} epub\n" ".endfor\n" msgstr "" "epub-articles: requirements-epub\n" "\t@echo ---------------------------------------------------------------\n" "\t@echo !!! EPUB output is experimental !!!\n" "\t@echo\n" "\t@echo Asciidoctor EPUB3 is currently alpha software. Use accordingly. Although the\n" "\t@echo bulk of AsciiDoc content is converted, there’s still work needed to fill in\n" "\t@echo gaps where conversion is incomplete or unstyled.\n" "\t@echo https://docs.asciidoctor.org/epub3-converter/latest/#project-status\n" "\t@echo ---------------------------------------------------------------\n" ".for _lang in ${ARTICLE_LANGS}\n" "\t./tools/asciidoctor.sh articles ${_lang} epub\n" ".endfor\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:515 #, no-wrap msgid "epub-clean: epub-articles-clean epub-books-clean\n" msgstr "epub-clean: epub-articles-clean epub-books-clean\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:522 #, no-wrap msgid "" "epub-books-clean:\n" ".for _lang in ${BOOK_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/books\n" "\t-rmdir ${.CURDIR}/public/${_lang}\n" ".endfor\n" "\t-rmdir ${.CURDIR}/public/\n" msgstr "" "epub-books-clean:\n" ".for _lang in ${BOOK_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/books\n" "\t-rmdir ${.CURDIR}/public/${_lang}\n" ".endfor\n" "\t-rmdir ${.CURDIR}/public/\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:531 #, no-wrap msgid "" "epub-articles-clean:\n" ".for _lang in ${ARTICLE_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/articles\n" ".if !exists(${.CURDIR}/public/${_lang}/books)\n" "\trm -fr ${.CURDIR}/public/${_lang}\n" ".endif\n" ".endfor\n" "\t-rmdir ${.CURDIR}/public\n" msgstr "" "epub-articles-clean:\n" ".for _lang in ${ARTICLE_LANGS}\n" "\trm -fr ${.CURDIR}/public/${_lang}/articles\n" ".if !exists(${.CURDIR}/public/${_lang}/books)\n" "\trm -fr ${.CURDIR}/public/${_lang}\n" ".endif\n" ".endfor\n" "\t-rmdir ${.CURDIR}/public\n" #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:534 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:656 msgid "The `MAINTAINER` flag specifies who is the maintainer of this Makefile." msgstr "" "Флаг `MAINTAINER` указывает, кто является сопровождающим данного Makefile." #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:535 msgid "" "`ALL_LANGUAGES` flag specifies in which languages the table of contents has " "to be generated." msgstr "" "Флаг `ALL_LANGUAGES` указывает, на каких языках должно быть сгенерировано " "оглавление." #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:536 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:657 msgid "`RUBY_CMD` flag specifies the location of the Ruby binary." msgstr "Флаг `RUBY_CMD` указывает расположение бинарного файла Ruby." #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:537 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:658 msgid "`HUGO_CMD` flag specifies the location of the Hugo binary." msgstr "`HUGO_CMD` — флаг, указывающий расположение бинарного файла Hugo." #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:538 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:659 msgid "" "`.ORDER` directives are used to ensure multiple make jobs may run without " "problem." msgstr "" "Директивы `.ORDER` используются для обеспечения беспроблемного выполнения " "нескольких заданий make." #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:539 msgid "" "`all` target builds the documentation and puts the result in *~/doc/" "documentation/public*." msgstr "" "Цель `all` собирает документацию и помещает результат в *~/doc/documentation/" "public*." #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:540 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:661 msgid "" "`starting-message` shows a message in the CLI to show the user that the " "process is running." msgstr "" "`starting-message` показывает сообщение в CLI, чтобы уведомить пользователя " "о том, что процесс выполняется." #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:541 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:664 msgid "" "`run-local` runs hugo webserver on port 1313, or a random free port if that " "is already in use." msgstr "" "`run-local` запускает веб-сервер hugo на порту 1313 или на случайном " "свободном порту, если указанный порт уже занят." #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:542 msgid "" "`build` builds the documentation and puts the result in the *~/doc/" "documentation/public*." msgstr "" "`build` собирает документацию и помещает результат в *~/doc/documentation/" "public*." #. type: Title === #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:544 #, no-wrap msgid "Website Makefile" msgstr "Makefile в каталоге website" #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:547 msgid "This [.filename]#Makefile# takes the form of:" msgstr "Этот [.filename]#Makefile# имеет следующий вид:" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:564 #, no-wrap msgid "" "# Generate the FreeBSD website\n" "#\n" "# Copyright (c) 2020-2026, The FreeBSD Documentation Project\n" "# Copyright (c) 2020-2026, Sergio Carlavilla \n" "#\n" "# Targets intended for use on the command line\n" "#\n" "# all (default)\t-\tgenerate the releases.toml and compile all the website\n" "# run\t-\t\t\tserves the built website for local browsing\n" "#\n" "# The run target uses hugo's built-in webserver to make the built website\n" "# available for local browsing. The website should have been built prior\n" "# to attempting to use the `run` target. By default, hugo will start its\n" "# webserver on port 1313.\n" msgstr "" "# Generate the FreeBSD website\n" "#\n" "# Copyright (c) 2020-2026, The FreeBSD Documentation Project\n" "# Copyright (c) 2020-2026, Sergio Carlavilla \n" "#\n" "# Targets intended for use on the command line\n" "#\n" "# all (default)\t-\tgenerate the releases.toml and compile all the website\n" "# run\t-\t\t\tserves the built website for local browsing\n" "#\n" "# The run target uses hugo's built-in webserver to make the built website\n" "# available for local browsing. The website should have been built prior\n" "# to attempting to use the `run` target. By default, hugo will start its\n" "# webserver on port 1313.\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:569 #, no-wrap msgid "" "# List of all languages we have content for\n" "ALL_LANGUAGES=\tde el en es fr hu it ja nl ru tr zh-cn zh-tw\n" msgstr "" "# List of all languages we have content for\n" "ALL_LANGUAGES=\tde el en es fr hu it ja nl ru tr zh-cn zh-tw\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:577 #, no-wrap msgid "" "RUBY_CMD =\t${LOCALBASE}/bin/ruby <.>\n" "HUGO_CMD =\t${LOCALBASE}/bin/hugo <.>\n" "HUGO_ARGS?=\t--verbose\n" "RUBYLIB =\t../shared/lib\n" ".export\tRUBYLIB\n" msgstr "" "RUBY_CMD =\t${LOCALBASE}/bin/ruby <.>\n" "HUGO_CMD =\t${LOCALBASE}/bin/hugo <.>\n" "HUGO_ARGS?=\t--verbose\n" "RUBYLIB =\t../shared/lib\n" ".export\tRUBYLIB\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:597 #, no-wrap msgid "" ".if defined(DOC_LANG) && !empty(DOC_LANG)\n" "LANGUAGES= ${DOC_LANG:S/,/ /g}\n" ".if ${LANGUAGES:Men} == \"\"\n" ".warning \"Warning: cannot skip 'en'; adding it back\"\n" "LANGUAGES+=\ten\n" ".endif\n" ".else\n" "LANGUAGES=\t${ALL_LANGUAGES}\n" ".endif\n" msgstr "" ".if defined(DOC_LANG) && !empty(DOC_LANG)\n" "LANGUAGES= ${DOC_LANG:S/,/ /g}\n" ".if ${LANGUAGES:Men} == \"\"\n" ".warning \"Warning: cannot skip 'en'; adding it back\"\n" "LANGUAGES+=\ten\n" ".endif\n" ".else\n" "LANGUAGES=\t${ALL_LANGUAGES}\n" ".endif\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:606 #, no-wrap msgid "" "# Take the list of all languages, and take out the ones we have been\n" "# asked for via DOC_LANG. We'll feed this to hugo.\n" "SKIP_LANGS=\n" ".for a in ${ALL_LANGUAGES}\n" ".if ${LANGUAGES:M${a}} == \"\"\n" "SKIP_LANGS+=\t${a}\n" ".endif\n" ".endfor\n" msgstr "" "# Take the list of all languages, and take out the ones we have been\n" "# asked for via DOC_LANG. We'll feed this to hugo.\n" "SKIP_LANGS=\n" ".for a in ${ALL_LANGUAGES}\n" ".if ${LANGUAGES:M${a}} == \"\"\n" "SKIP_LANGS+=\t${a}\n" ".endif\n" ".endfor\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:614 #, no-wrap msgid "" ".ORDER: starting-message generate-releases\n" ".ORDER: starting-message build\n" ".ORDER: generate-releases build\n" ".ORDER: build post-build\n" ".ORDER: post-build end-message\n" msgstr "" ".ORDER: starting-message generate-releases\n" ".ORDER: starting-message build\n" ".ORDER: generate-releases build\n" ".ORDER: build post-build\n" ".ORDER: post-build end-message\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:618 #, no-wrap msgid "" "all: starting-message generate-releases build post-build end-message <.>\n" "run: starting-message generate-releases run-local\n" "clean: hugo-clean releases-clean\n" msgstr "" "all: starting-message generate-releases build post-build end-message <.>\n" "run: starting-message generate-releases run-local\n" "clean: hugo-clean releases-clean\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:625 #, no-wrap msgid "" "starting-message: .PHONY <.>\n" "\t@echo \"---------------------------------------------------------------\"\n" "\t@echo \"Building the website started on $$(date)\"\n" "\t@echo \" included languages: ${LANGUAGES}\"\n" "\t@echo \" excluded languages: ${SKIP_LANGS}\"\n" "\t@echo \"---------------------------------------------------------------\"\n" msgstr "" "starting-message: .PHONY <.>\n" "\t@echo \"---------------------------------------------------------------\"\n" "\t@echo \"Building the website started on $$(date)\"\n" "\t@echo \" included languages: ${LANGUAGES}\"\n" "\t@echo \" excluded languages: ${SKIP_LANGS}\"\n" "\t@echo \"---------------------------------------------------------------\"\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:630 #, no-wrap msgid "" "end-message: .PHONY\n" "\t@echo \"---------------------------------------------------------------\"\n" "\t@echo \"Building the website completed on $$(date)\"\n" "\t@echo \"---------------------------------------------------------------\"\n" msgstr "" "end-message: .PHONY\n" "\t@echo \"---------------------------------------------------------------\"\n" "\t@echo \"Building the website completed on $$(date)\"\n" "\t@echo \"---------------------------------------------------------------\"\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:632 #, no-wrap msgid "generate-releases: data/releases.toml <.>\n" msgstr "generate-releases: data/releases.toml <.>\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:635 #, no-wrap msgid "" "data/releases.toml:\n" "\t${RUBY_CMD} ./tools/releases-toml.rb\n" msgstr "" "data/releases.toml:\n" "\t${RUBY_CMD} ./tools/releases-toml.rb\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:639 #, no-wrap msgid "" "run-local: .PHONY <.>\n" "\tHUGO_DISABLELANGUAGES=\"${SKIP_LANGS}\" ${HUGO_CMD} server \\\n" "\t ${HUGO_ARGS} -D $(BIND:D--bind=$(BIND)) --baseURL=\"http://$(.HOST):1313\"\n" msgstr "" "run-local: .PHONY <.>\n" "\tHUGO_DISABLELANGUAGES=\"${SKIP_LANGS}\" ${HUGO_CMD} server \\\n" "\t ${HUGO_ARGS} -D $(BIND:D--bind=$(BIND)) --baseURL=\"http://$(.HOST):1313\"\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:644 #, no-wrap msgid "post-build: cgi-permissions\n" msgstr "post-build: cgi-permissions\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:647 #, no-wrap msgid "" "cgi-permissions:\n" "\t@chmod 555 ./public/cgi/*.cgi\n" msgstr "" "cgi-permissions:\n" "\t@chmod 555 ./public/cgi/*.cgi\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:650 #, no-wrap msgid "" "hugo-clean:\n" "\trm -fr public resources\n" msgstr "" "hugo-clean:\n" "\trm -fr public resources\n" #. type: delimited block . 4 #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:653 #, no-wrap msgid "" "releases-clean:\n" "\trm -f data/releases.toml\n" msgstr "" "releases-clean:\n" "\trm -f data/releases.toml\n" #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:660 msgid "" "`all` target builds the website and puts the result in *~/doc/website/" "public*." msgstr "" "Цель `all` собирает веб-сайт и помещает результат в *~/doc/website/public*." #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:663 msgid "" "`generate-releases` calls the script used to convert from AsciiDoc variables " "to TOML variables. With this conversion, the releases variables can be used " "in AsciiDoc and in the Hugo custom templates." msgstr "" "`generate-releases` вызывает скрипт, используемый для преобразования " "переменных AsciiDoc в переменные TOML. После этого преобразования переменные " "релизов можно использовать как в AsciiDoc, так и в пользовательских шаблонах " "Hugo." #. type: Plain text #: documentation/content/en/books/fdp-primer/doc-build/_index.adoc:664 msgid "" "`build` builds the website and puts the result in the *~/doc/website/public*." msgstr "" "`build` собирает веб-сайт и помещает результат в *~/doc/website/public*."