linux-doc: Exclude Sphinx support code and Makefiles

This commit is contained in:
Ben Hutchings 2016-09-12 03:51:57 +01:00
parent 51f0aa4b84
commit 888d6ec092
2 changed files with 3 additions and 0 deletions

1
debian/changelog vendored
View File

@ -8,6 +8,7 @@ linux (4.8~rc5-1~exp2) UNRELEASED; urgency=medium
- linux-source: Exclude Python bytecode generated when running Sphinx
- Set -fdebug-prefix-map=... in compiler options for kernel and userland
- linux-headers: Stop including unused arch/*/kernel/asm-offsets.s files
* linux-doc: Exclude Sphinx support code and Makefiles
-- Ben Hutchings <ben@decadent.org.uk> Fri, 16 Sep 2016 16:39:53 +0100

2
debian/rules.real vendored
View File

@ -228,6 +228,8 @@ install-doc: $(STAMPS_DIR)/build-doc
find CREDITS MAINTAINERS README REPORTING-BUGS Documentation \
-name '.gitignore' -prune -o -name DocBook -prune -o \
-name '*.rst' -prune -o -path Documentation/media -prune -o \
-path Documentation/sphinx -prune -o \
-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