Remove support for upstream DocBook-based documentation

It has finally been removed after all docs were converted to ReST format.
As there is no longer a way to build manpages, remove the linux-manual
package.
This commit is contained in:
Ben Hutchings 2017-08-13 16:39:42 +01:00
parent 58cec05a0e
commit c8e760ebac
4 changed files with 3 additions and 30 deletions

2
debian/changelog vendored
View File

@ -5,6 +5,8 @@ linux (4.13~rc4-1~exp1) UNRELEASED; urgency=medium
[ Ben Hutchings ]
* cpupower: Add/update definition of MSRHEADER macro for turbostat and
x86_energy_perf_policy
* Remove support for upstream DocBook-based documentation, including the
linux-manual package
-- Ben Hutchings <ben@decadent.org.uk> Sun, 13 Aug 2017 14:10:41 +0100

11
debian/rules.real vendored
View File

@ -67,7 +67,6 @@ binary-arch-flavour: install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR)
ifneq ($(DO_DOCS),False)
binary-indep: install-doc
binary-indep: install-manual
build-indep: $(STAMPS_DIR)/build-doc
endif
binary-indep: install-source
@ -232,19 +231,11 @@ install-doc: $(STAMPS_DIR)/build-doc
-name 'Makefile*' -prune -o \
-print | \
cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)'
# Some HTML pages are generated by xmlto from DocBook XML and some by
# Sphinx from reStructedText. Unfortunately these each generate their
# own top level index.html, so we put them in two separate
# subdirectories until the conversion to RST is complete.
set -o pipefail; \
cd $(DIR)/Documentation/DocBook; \
find * -name '*.html' -print | \
cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)/html/oldstyle'
set -o pipefail; \
cd $(DIR)/Documentation/output; \
find * -name '*.rst' -prune -o -name objects.inv -prune \
-o -name xml -prune -o -print | \
cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)/html/newstyle'
cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)/html'
find $(OUT_DIR)/Documentation -type f | xargs gzip -9n
# Fix up symlinks to gzipped docs
cd $(OUT_DIR)/Documentation; \

View File

@ -12,22 +12,3 @@ Description: Linux kernel specific documentation for version @version@
/usr/share/doc/linux-doc-@version@/Documentation/00-INDEX
for the detailed description of the contents.
Package: @source_package@-manual-@version@
Build-Profiles: <!stage1 !nodoc>
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.

View File

@ -64,7 +64,6 @@ Build-Depends-Indep:
graphviz <!stage1 !nodoc>,
python-sphinx <!stage1 !nodoc>,
python-sphinx-rtd-theme <!stage1 !nodoc>,
xmlto <!stage1 !nodoc>,
Vcs-Git: https://anonscm.debian.org/git/kernel/linux.git
Vcs-Browser: https://anonscm.debian.org/cgit/kernel/linux.git
Homepage: https://www.kernel.org/