summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/apt-extracttemplates.1.sgml60
-rw-r--r--doc/makefile3
2 files changed, 62 insertions, 1 deletions
diff --git a/doc/apt-extracttemplates.1.sgml b/doc/apt-extracttemplates.1.sgml
new file mode 100644
index 000000000..6b062ccc9
--- /dev/null
+++ b/doc/apt-extracttemplates.1.sgml
@@ -0,0 +1,60 @@
+<!-- -*- mode: sgml; mode: fold -*- -->
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
+
+<!ENTITY % aptent SYSTEM "apt.ent">
+%aptent;
+
+]>
+
+<refentry>
+ &apt-docinfo;
+
+ <refmeta>
+ <refentrytitle>apt-extracttemplates</>
+ <manvolnum>1</>
+ </refmeta>
+
+ <!-- Man page title -->
+ <refnamediv>
+ <refname>apt-extracttemplates</>
+ <refpurpose>Utility to extract DebConf config and templates from Debian packages</>
+ </refnamediv>
+
+ <!-- Arguments -->
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>apt-extracttemplate</>
+ <arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+
+ <RefSect1><Title>Description</>
+ <para>
+ <command/apt-extracttemplates/ will take one or more Debian package files
+ as input and write out (to a temporary directory) all associated config
+ scripts and template files. For each passed in package that contains
+ config scripts and templates, one line of output will be generated
+ in the format:
+ <para>
+ package version template-file config-script
+ </RefSect1>
+
+ <RefSect1><Title>Options</>
+ &apt-cmdblurb;
+
+ </RefSect1>
+
+ <RefSect1><Title>See Also</>
+ <para>
+ &apt-conf;
+ </RefSect1>
+
+ <RefSect1><Title>Diagnostics</>
+ <para>
+ <command/apt-sortpkgs/ returns zero on normal operation, decimal 100 on error.
+ </RefSect1>
+
+ &manbugs;
+ &manauthor;
+
+</refentry>
diff --git a/doc/makefile b/doc/makefile
index 45cb7a878..8aeb406fa 100644
--- a/doc/makefile
+++ b/doc/makefile
@@ -12,7 +12,8 @@ include $(DEBIANDOC_H)
# Man pages
SOURCE = apt-cache.8 apt-get.8 apt-cdrom.8 apt.conf.5 sources.list.5 \
- apt-config.8 apt-sortpkgs.1 apt-ftparchive.1 apt_preferences.5
+ apt-config.8 apt-sortpkgs.1 apt-ftparchive.1 apt_preferences.5 \
+ apt-extracttemplates.1
INCLUDES = apt.ent
include $(SGML_MANPAGE_H)