diff options
| author | Bastian Blank <waldi@debian.org> | 2014-08-07 16:50:39 +0000 |
|---|---|---|
| committer | Bastian Blank <waldi@debian.org> | 2014-08-07 16:50:39 +0000 |
| commit | 0890e7d507cdb6e681ab9fea4c5c4a5411081e2b (patch) | |
| tree | 7cd47e591c0a96d615d88ed9c61698124e5bc7ac /debian/rules.real | |
| parent | aa5b6a869da1bc9b473a3d4bc282f2f9377db57b (diff) | |
| download | kernel_replicant_linux-0890e7d507cdb6e681ab9fea4c5c4a5411081e2b.tar.gz kernel_replicant_linux-0890e7d507cdb6e681ab9fea4c5c4a5411081e2b.tar.bz2 kernel_replicant_linux-0890e7d507cdb6e681ab9fea4c5c4a5411081e2b.zip | |
debian/rules.real: Filter installed documentation
svn path=/dists/trunk/linux/; revision=21701
Diffstat (limited to 'debian/rules.real')
| -rw-r--r-- | debian/rules.real | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/debian/rules.real b/debian/rules.real index 1dabb3f66f6b..35d4698595b5 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -196,12 +196,13 @@ install-doc: DH_OPTIONS = -p$(PACKAGE_NAME) install-doc: $(STAMPS_DIR)/build-doc dh_prep mkdir -p $(OUT_DIR) - cp -a CREDITS MAINTAINERS README REPORTING-BUGS Documentation $(OUT_DIR) - rm -rf $(OUT_DIR)/Documentation/DocBook + set -o pipefail; \ + find CREDITS MAINTAINERS README REPORTING-BUGS Documentation \ + -name '.gitignore' -prune -o -name DocBook -print -o -print | \ + cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)' set -o pipefail; \ cd $(DIR)/Documentation/DocBook; \ - find * -name '*.html' -print \ - | \ + find * -name '*.html' -print | \ cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)/html' gzip -9qfr $(OUT_DIR)/Documentation +$(MAKE_SELF) install-base |
