<?xml version="1.0" encoding="UTF-8"?>
<?asciidoc-toc?>
<?asciidoc-numbered?>
<book xmlns="http://docbook.org/ns/docbook" xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en">
<!-- vim:set filetype=xml: -->

  <!-- This header part covers all bookinfo section -->
  <info>
    <cover>
      <mediaobject>
        <imageobject>
          <imagedata fileref="xslt/debian-openlogo.png"/>
        </imageobject>
      </mediaobject>
    </cover>
    <title>Guide for Debian Maintainers</title>
    <authorgroup>
      <author>
        <personname>Osamu Aoki</personname>
        <email>osamu@debian.org</email>
      </author>
    </authorgroup>
    <date>@@@debdate@@@</date>

    <copyright>
      <year>2014-2024</year>
      <holder>Osamu Aoki</holder>
    </copyright>

    <legalnotice>

<simpara>Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:</simpara>
<simpara>The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.</simpara>
<simpara>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</simpara>

<simpara>This guide was made using the following previous documents as its reference:</simpara>
<itemizedlist>
<listitem>
<simpara>
“Making a Debian Package (AKA the Debmake Manual)”, copyright © 1997 Jaldhar Vyas.
</simpara>
</listitem>
<listitem>
<simpara>
“The New-Maintainer’s Debian Packaging Howto”, copyright © 1997 Will Lowe.
</simpara>
</listitem>
<listitem>
<simpara>
“Debian New Maintainers’ Guide”, copyright © 1998-2002 Josip Rodin, 2005-2017 Osamu Aoki, 2010 Craig Small, and 2010 Raphaël Hertzog.
</simpara>
</listitem>
</itemizedlist>
<simpara>The latest version of this guide should be available:</simpara>
<itemizedlist>
<listitem>
<simpara>
in the <quote><link xl:href="https://tracker.debian.org/pkg/debmake-doc">debmake-doc package</link></quote> and
</simpara>
</listitem>
<listitem>
<simpara>
at the <quote><link xl:href="https://www.debian.org/doc/devel-manuals">Debian Documentation web site</link></quote>.
</simpara>
</listitem>
</itemizedlist>
    </legalnotice>
    <abstract>
<simpara>This “Guide for Debian Maintainers” (@@@debdate@@@)
tutorial guide describes the building of the Debian
package to ordinary Debian users and prospective developers using
the <emphasis role="strong">debmake</emphasis> command.</simpara>

<simpara>This guide focuses on the modern packaging style and comes with many simple examples.</simpara>

<itemizedlist>
<listitem>
<simpara>
POSIX shell script packaging
</simpara>
</listitem>
<listitem>
<simpara>
Python3 script packaging
</simpara>
</listitem>
<listitem>
<simpara>
C with Makefile/Autotools/CMake
</simpara>
</listitem>
<listitem>
<simpara>
multiple binary packages with shared library etc.
</simpara>
</listitem>
</itemizedlist>

<simpara>This “Guide for Debian Maintainers” can be considered as the successor to the “Debian New Maintainers’ Guide”.</simpara>
    </abstract>
  </info>
