debian/rules.real: Siplify rules for documentation installation.

svn path=/dists/trunk/linux-2.6/; revision=12923
This commit is contained in:
Bastian Blank 2009-02-22 19:14:53 +00:00
parent 5d1c24d5a8
commit afc6d9ca0d
1 changed files with 1 additions and 5 deletions

6
debian/rules.real vendored
View File

@ -155,11 +155,7 @@ install-doc: $(STAMPS_DIR)/build-doc
cp -a $(addprefix $(SOURCE_DIR)/, COPYING CREDITS MAINTAINERS README REPORTING-BUGS Documentation) $(OUT_DIR)
rm -rf $(OUT_DIR)/Documentation/DocBook
cd $(DIR)/Documentation/DocBook; \
find . \
-path './man/*' -prune -o \
\( -name '*.tmpl' -o -name '*.xml' -o -name '*.9' -o \
-name 'Makefile*' -o -name '.*.cmd' -o -name '.gitignore' \) -prune -o \
-print \
find * -name '*.html' -print \
| \
cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)/html'
gzip -9qfr $(OUT_DIR)/Documentation