aboutsummaryrefslogtreecommitdiffstats
path: root/debian/templates/control.docs.in
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2015-11-10 18:42:38 +0100
committerYves-Alexis Perez <corsac@debian.org>2015-11-11 12:31:56 +0100
commite3d56724e48bb3404c0703cdb35f4bb2593861e1 (patch)
treeb7acaff591505bd1bd0f60db159c0165496d46fc /debian/templates/control.docs.in
parentc346a6be262a25536f13e85b58494af999de4925 (diff)
downloadkernel_replicant_linux-e3d56724e48bb3404c0703cdb35f4bb2593861e1.tar.gz
kernel_replicant_linux-e3d56724e48bb3404c0703cdb35f4bb2593861e1.tar.bz2
kernel_replicant_linux-e3d56724e48bb3404c0703cdb35f4bb2593861e1.zip
split docs package to a different template
only include them in the control file if docs are enabled in the config
Diffstat (limited to 'debian/templates/control.docs.in')
-rw-r--r--debian/templates/control.docs.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/debian/templates/control.docs.in b/debian/templates/control.docs.in
new file mode 100644
index 000000000000..c773bf509f9a
--- /dev/null
+++ b/debian/templates/control.docs.in
@@ -0,0 +1,33 @@
+Package: @source_package@-doc-@version@
+Build-Profiles: <!stage1>
+Architecture: all
+Depends: ${misc:Depends}
+Section: doc
+Multi-Arch: foreign
+Description: Linux kernel specific documentation for version @version@
+ This package provides the various README files and HTML documentation for
+ the Linux kernel version @version@. Plenty of information, including the
+ descriptions of various kernel subsystems, filesystems, driver-specific
+ notes and the like. Consult the file
+ /usr/share/doc/linux-doc-@version@/Documentation/00-INDEX
+ for the detailed description of the contents.
+
+Package: @source_package@-manual-@version@
+Build-Profiles: <!stage1>
+Architecture: all
+Depends: ${misc:Depends}
+Section: doc
+Provides: linux-manual
+Conflicts: linux-manual
+Replaces: linux-manual
+Multi-Arch: foreign
+Description: Linux kernel API manual pages for version @version@
+ This package provides the Kernel Hacker's Guide in the form of
+ manual pages, describing the kernel API functions. They
+ are installed into section 9 of the manual.
+ .
+ As the files containing manual pages for different kernel versions
+ are installed in the same location, only one linux-manual package
+ may be installed at a time. The linux-doc package containing the
+ documentation in other formats is free from such restriction.
+