]> git.saurik.com Git - apt.git/blame - doc/apt-extracttemplates.1.xml
prepare-release: declare the packages needed as source build deps.
[apt.git] / doc / apt-extracttemplates.1.xml
CommitLineData
24f6490f 1<?xml version="1.0" encoding="utf-8" standalone="no"?>
81cf16a2
DK
2<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
24f6490f
AL
4
5<!ENTITY % aptent SYSTEM "apt.ent">
6%aptent;
7
0c1a7101
DK
8<!ENTITY % aptverbatiment SYSTEM "apt-verbatim.ent">
9%aptverbatiment;
10
694ef56e
DK
11<!ENTITY % aptvendor SYSTEM "apt-vendor.ent">
12%aptvendor;
24f6490f
AL
13]>
14
15<refentry>
5e80de29
AL
16
17 <refentryinfo>
18 &apt-author.jgunthorpe;
19 &apt-author.team;
20 &apt-email;
21 &apt-product;
22 <!-- The last update date -->
dabb215c 23 <date>2012-06-09T00:00:00Z</date>
5e80de29 24 </refentryinfo>
24f6490f
AL
25
26 <refmeta>
27 <refentrytitle>apt-extracttemplates</refentrytitle>
28 <manvolnum>1</manvolnum>
f0599b9c 29 <refmiscinfo class="manual">APT</refmiscinfo>
24f6490f
AL
30 </refmeta>
31
32 <!-- Man page title -->
33 <refnamediv>
34 <refname>apt-extracttemplates</refname>
c6b21d22 35 <refpurpose>Utility to extract <command>debconf</command> config and templates from Debian packages</refpurpose>
24f6490f
AL
36 </refnamediv>
37
6e8b4572
DK
38 &synopsis-command-apt-extracttemplates;
39
24f6490f
AL
40 <refsect1><title>Description</title>
41 <para><command>apt-extracttemplates</command> will take one or more Debian package files
42 as input and write out (to a temporary directory) all associated config
43 scripts and template files. For each passed in package that contains
44 config scripts and templates, one line of output will be generated
45 in the format:</para>
46 <para>package version template-file config-script</para>
47 <para>template-file and config-script are written to the temporary directory
2b9b27c3
DK
48 specified by the <option>-t</option> or <option>--tempdir</option>
49 (<literal>APT::ExtractTemplates::TempDir</literal>) directory,
50 with filenames of the form <filename>package.template.XXXX</filename> and
24f6490f
AL
51 <filename>package.config.XXXX</filename></para>
52 </refsect1>
53
54 <refsect1><title>options</title>
55 &apt-cmdblurb;
56
57 <variablelist>
58 <varlistentry><term><option>-t</option></term><term><option>--tempdir</option></term>
59 <listitem><para>
c6b21d22 60 Temporary directory in which to write extracted <command>debconf</command> template files
5f4331c4 61 and config scripts.
24f6490f
AL
62 Configuration Item: <literal>APT::ExtractTemplates::TempDir</literal></para></listitem>
63 </varlistentry>
64
65 &apt-commonoptions;
66
67 </variablelist>
68
69
70 </refsect1>
71
72 <refsect1><title>See Also</title>
73 <para>&apt-conf;</para>
74 </refsect1>
75
76 <refsect1><title>Diagnostics</title>
5e80de29 77 <para><command>apt-extracttemplates</command> returns zero on normal operation, decimal 100 on error.</para>
24f6490f
AL
78 </refsect1>
79
80 &manbugs;
24f6490f
AL
81
82</refentry>