The kernel has been transitioning to using sphinx instead of
DocBook for generating documentation. Starting in 4.13 the old
DocBook support has been completely removed, breaking our
linux-doc build. Update the build deps and copy the html docs
from their new location.
We still need to keep the DocBook build dependency for generating
perf manpages.
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
bzip2 <!stage1>,
sharutils <!stage1>,
asciidoc <!stage1>,
bzip2 <!stage1>,
sharutils <!stage1>,
asciidoc <!stage1>,
+ python-sphinx <!stage1>,
+ python-sphinx-rtd-theme <!stage1>,
Vcs-Git: git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/zesty
XS-Testsuite: autopkgtest
#XS-Testsuite-Depends: gcc-4.7 binutils
Vcs-Git: git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/zesty
XS-Testsuite: autopkgtest
#XS-Testsuite-Depends: gcc-4.7 binutils
install -d $(docdir)/$(doc_pkg_name)-tmp; \
$(kmake) O=$(docdir)/$(doc_pkg_name)-tmp htmldocs; \
install -d $(docdir)/html; \
install -d $(docdir)/$(doc_pkg_name)-tmp; \
$(kmake) O=$(docdir)/$(doc_pkg_name)-tmp htmldocs; \
install -d $(docdir)/html; \
- rsync -aL $(docdir)/$(doc_pkg_name)-tmp/Documentation/DocBook/ \
+ rsync -aL $(docdir)/$(doc_pkg_name)-tmp/Documentation/output/ \
$(docdir)/html/; \
rm -rf $(docdir)/$(doc_pkg_name)-tmp; \
fi
endif
# Copy the rest
cp -a Documentation/* $(docdir)
$(docdir)/html/; \
rm -rf $(docdir)/$(doc_pkg_name)-tmp; \
fi
endif
# Copy the rest
cp -a Documentation/* $(docdir)
- rm -rf $(docdir)/DocBook
find $(docdir) -name .gitignore | xargs rm -f
endif
find $(docdir) -name .gitignore | xargs rm -f
endif