Commit 4064d6e2 authored by Joseph Nuthalapati's avatar Joseph Nuthalapati Committed by James Valleroy

manual: Link to manual from each service

Closes #930

- Make targets to download wiki pages of each service

- Add post-processor script for DocBook file processing
Signed-off-by: Joseph Nuthalapati's avatarJoseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy's avatarJames Valleroy <jvalleroy@mailbox.org>
parent c6bccaaa
Pipeline #3314 passed with stages
in 10 minutes and 21 seconds
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
<article>
<articleinfo>
<title>FreedomBox/Manual/Configure</title>
<revhistory>
<revision>
<revnumber>3</revnumber>
<date>2016-12-31 04:11:43</date>
<authorinitials>JamesValleroy</authorinitials>
<revremark>mention how domain name is used</revremark>
</revision>
<revision>
<revnumber>2</revnumber>
<date>2016-12-31 04:07:26</date>
<authorinitials>JamesValleroy</authorinitials>
<revremark>fix outline</revremark>
</revision>
<revision>
<revnumber>1</revnumber>
<date>2016-08-21 16:35:55</date>
<authorinitials>Drahtseil</authorinitials>
<revremark>Created Configure</revremark>
</revision>
</revhistory>
</articleinfo>
<section>
<title>Configure</title>
<para>Configure covers a couple of general topics: </para>
<orderedlist numeration="arabic">
<listitem>
<para>Hostname </para>
<itemizedlist>
<listitem override="none">
<para>Hostname is the local name by which other devices on the local network can reach your FreedomBox. Default is <emphasis>freedombox</emphasis>. </para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>Domain Name </para>
<itemizedlist>
<listitem override="none">
<para>Domain name is the global name by which other devices on the Internet can reach your FreedomBox. The value set here is used by the <ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Manual/XMPP#">Chat Server (XMPP)</ulink>, <ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Manual/LetsEncrypt#">Certificates (Let's Encrypt)</ulink>, and <ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Manual/Monkeysphere#">Monkeysphere</ulink>. </para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>Language </para>
<itemizedlist>
<listitem override="none">
<para>Language for the web administration interface Plinth </para>
</listitem>
</itemizedlist>
</listitem>
</orderedlist>
<!--rule (<hr>) is not applicable to DocBook-->
<informaltable>
<tgroup cols="8">
<colspec colname="col_0"/>
<colspec colname="col_1"/>
<colspec colname="col_2"/>
<colspec colname="col_3"/>
<colspec colname="col_4"/>
<colspec colname="col_5"/>
<colspec colname="col_6"/>
<colspec colname="col_7"/>
<tbody>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Information</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1"/>
<entry colsep="1" rowsep="1"/>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Support</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Work Space</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1"/>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Reports</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Promote</emphasis>
</para>
</entry>
</row>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Introduction#">Overview</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Hardware#">Hardware</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong"> </emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Support#">Live Help</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Contribute#">Where To Start</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Translate#">Translate</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/ProgressCalls#">Calls</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/TalksAndPresentations#">Talks</ulink>
</para>
</entry>
</row>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Features#">Features</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Vision#">Vision</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong"> </emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/QuestionsAndAnswers#">Q&amp;A</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Design#">Design</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/TODO#">To Do</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Metrics#">Metrics</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Press#">Press</ulink>
</para>
</entry>
</row>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Download#">Download</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Manual#">Manual</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong"> </emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/UserExperience#">Use cases</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Contribute/Code#">Code</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Contributors#">Contributors</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/ReleaseNotes#">Releases</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Configure/FreedomBox/Blog#">Blog</ulink>
</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<!--rule (<hr>) is not applicable to DocBook-->
<para>
</para>
</section>
</article>
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
<article>
<articleinfo>
<title>FreedomBox/Manual/DateTime</title>
<revhistory>
<revision>
<revnumber>2</revnumber>
<date>2017-03-31 20:20:57</date>
<authorinitials>Drahtseil</authorinitials>
<revremark>Screenshot DateTime</revremark>
</revision>
<revision>
<revnumber>1</revnumber>
<date>2016-08-21 09:26:45</date>
<authorinitials>Drahtseil</authorinitials>
<revremark>Created Date &amp; Time</revremark>
</revision>
</revhistory>
</articleinfo>
<section>
<title>Date &amp; Time</title>
<para>This network time server is a program that maintains the system time in synchronization with servers on the Internet. </para>
<para>You can select your time zone by picking a big city nearby (they are sorted by <emphasis>Continent/City</emphasis>) or select directly the zone with respect to GMT (Greenwich Mean Time). </para>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="https://wiki.debian.org/FreedomBox/Manual/DateTime?action=AttachFile&amp;do=get&amp;target=DateTime.png"/>
</imageobject>
<textobject>
<phrase>DateTime.png</phrase>
</textobject>
</inlinemediaobject>
</para>
<!--rule (<hr>) is not applicable to DocBook-->
<informaltable>
<tgroup cols="8">
<colspec colname="col_0"/>
<colspec colname="col_1"/>
<colspec colname="col_2"/>
<colspec colname="col_3"/>
<colspec colname="col_4"/>
<colspec colname="col_5"/>
<colspec colname="col_6"/>
<colspec colname="col_7"/>
<tbody>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Information</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1"/>
<entry colsep="1" rowsep="1"/>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Support</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Work Space</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1"/>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Reports</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Promote</emphasis>
</para>
</entry>
</row>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Introduction#">Overview</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Hardware#">Hardware</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong"> </emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Support#">Live Help</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Contribute#">Where To Start</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Translate#">Translate</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/ProgressCalls#">Calls</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/TalksAndPresentations#">Talks</ulink>
</para>
</entry>
</row>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Features#">Features</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Vision#">Vision</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong"> </emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/QuestionsAndAnswers#">Q&amp;A</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Design#">Design</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/TODO#">To Do</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Metrics#">Metrics</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Press#">Press</ulink>
</para>
</entry>
</row>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Download#">Download</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Manual#">Manual</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong"> </emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/UserExperience#">Use cases</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Contribute/Code#">Code</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Contributors#">Contributors</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/ReleaseNotes#">Releases</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/DateTime/FreedomBox/Blog#">Blog</ulink>
</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<!--rule (<hr>) is not applicable to DocBook-->
<para>
</para>
</section>
</article>
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.docbook.org/xml/4.4/docbookx.dtd">
<article>
<articleinfo>
<title>FreedomBox/Manual/Diagnostics</title>
<revhistory>
<revision>
<revnumber>1</revnumber>
<date>2016-08-21 09:43:52</date>
<authorinitials>Drahtseil</authorinitials>
<revremark>Created Diagnostics</revremark>
</revision>
</revhistory>
</articleinfo>
<section>
<title>Diagnostics</title>
<para>The system diagnostic test will run a number of checks on your system to confirm that applications and services are working as expected. </para>
<para>Just click <emphasis>Run Diagnostics</emphasis>. This may take some minutes. </para>
<!--rule (<hr>) is not applicable to DocBook-->
<informaltable>
<tgroup cols="8">
<colspec colname="col_0"/>
<colspec colname="col_1"/>
<colspec colname="col_2"/>
<colspec colname="col_3"/>
<colspec colname="col_4"/>
<colspec colname="col_5"/>
<colspec colname="col_6"/>
<colspec colname="col_7"/>
<tbody>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Information</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1"/>
<entry colsep="1" rowsep="1"/>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Support</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Work Space</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1"/>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Reports</emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong">Promote</emphasis>
</para>
</entry>
</row>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Introduction#">Overview</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Hardware#">Hardware</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong"> </emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Support#">Live Help</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Contribute#">Where To Start</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Translate#">Translate</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/ProgressCalls#">Calls</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/TalksAndPresentations#">Talks</ulink>
</para>
</entry>
</row>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Features#">Features</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Vision#">Vision</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong"> </emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/QuestionsAndAnswers#">Q&amp;A</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Design#">Design</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/TODO#">To Do</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Metrics#">Metrics</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Press#">Press</ulink>
</para>
</entry>
</row>
<row rowsep="1">
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Download#">Download</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Manual#">Manual</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<emphasis role="strong"> </emphasis>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/UserExperience#">Use cases</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Contribute/Code#">Code</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Contributors#">Contributors</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/ReleaseNotes#">Releases</ulink>
</para>
</entry>
<entry colsep="1" rowsep="1">
<para>
<ulink url="https://wiki.debian.org/FreedomBox/Manual/Diagnostics/FreedomBox/Blog#">Blog</ulink>
</para>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<!--rule (<hr>) is not applicable to DocBook-->
<para>
</para>
</section>
</article>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -15,10 +15,9 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
MANUAL_URL="https://wiki.debian.org/FreedomBox/Manual?action=show&mimetype=text%2Fdocbook"
OUTPUTS=freedombox-manual.pdf freedombox-manual.html freedombox-manual.part.html plinth.1
OUTPUTS=freedombox-manual.pdf plinth.1 manual-pages
# In order to debug various problems with the documents especially
# intermediate LaTeX state, run make as follows:
......@@ -51,28 +50,39 @@ all: $(OUTPUTS)
fetch:
wget --quiet -O - $(MANUAL_URL) | \
xmllint --format --output freedombox-manual.raw.xml -
xsltproc --output freedombox-manual.xml fixes.xslt freedombox-manual.raw.xml
xsltproc fetch-images.xslt freedombox-manual.raw.xml | sort -u | \
awk '{print "wget --quiet -O images/" $$1 " " $$2}' | sh
rm -f freedombox-manual.raw.xml
./fetch-manual-pages
.PHONY: manual-pages
manual-pages-list:=$(shell cat manual-pages.list) freedombox-manual
manual-pages-part-html:=$(patsubst %, %.part.html, $(manual-pages-list))
manual-pages-html:=$(patsubst %, %.html, $(manual-pages-list))
manual-pages-xml:=$(patsubst %, %.xml, $(manual-pages-list))
manual-pages: $(manual-pages-part-html)
%.pdf: %.xml
xmlto $(XMLTO_DEBUG_FLAGS) --with-dblatex pdf $<
%.part.html: %.html
perl -pe 'BEGIN {undef $$/} s/.*<body[^>]*>(.*)<\/body\s*>.*/$$1/si' $< > $@
freedombox-manual.xml: freedombox-manual.raw.xml fixes.xslt
xsltproc --output $@ fixes.xslt $<
%.xml: %.raw.xml manual-page-fixes.xslt