diff --git a/debian/changelog b/debian/changelog index 44594e06d..14115d41a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Sun, 13 Aug 2017 14:10:41 +0100 diff --git a/debian/rules.real b/debian/rules.real index 296459cdd..758199330 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -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; \ diff --git a/debian/templates/control.docs.in b/debian/templates/control.docs.in index 9b16f0918..a0886d586 100644 --- a/debian/templates/control.docs.in +++ b/debian/templates/control.docs.in @@ -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: -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. - diff --git a/debian/templates/control.source.in b/debian/templates/control.source.in index 8c524d839..a6e2e7008 100644 --- a/debian/templates/control.source.in +++ b/debian/templates/control.source.in @@ -64,7 +64,6 @@ Build-Depends-Indep: graphviz , python-sphinx , python-sphinx-rtd-theme , - xmlto , 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/