debian/rules.real: Update install-doc rule for change to Sphinx HTML output

I can't see when or why this changed, but the HTML (and related) files
are now being generated in Documentation/output and not an html
subdirectory of that.
This commit is contained in:
Ben Hutchings 2016-10-29 04:04:27 +01:00
parent 4ac6860c3b
commit c391b26e8f
1 changed files with 3 additions and 2 deletions

5
debian/rules.real vendored
View File

@ -240,8 +240,9 @@ install-doc: $(STAMPS_DIR)/build-doc
find * -name '*.html' -print | \
cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)/html/oldstyle'
set -o pipefail; \
cd $(DIR)/Documentation/output/html; \
find * -name objects.inv -prune -o -print | \
cd $(DIR)/Documentation/output; \
find * -name '*.rst' -prune -o -name objects.inv -prune \
-o -name xml -prune -o -print | \
cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)/html/newstyle'
gzip -9nqfr $(OUT_DIR)/Documentation
+$(MAKE_SELF) install-base