debian/rules.real: Siplify rules for documentation installation.
svn path=/dists/trunk/linux-2.6/; revision=12923
This commit is contained in:
parent
5d1c24d5a8
commit
afc6d9ca0d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue