--- a/Makefile Tue Nov 10 14:57:03 2009 +0000
+++ b/Makefile Tue Nov 10 15:22:54 2009 +0000
@@ -25,7 +25,9 @@
installdoc: build/html/index.html
$(INSTALL) -d $(DOCDIR)
- $(INSTALL) -m 644 -t $(DOCDIR) README build/html/index.html
+ $(INSTALL) -m 644 -t $(DOCDIR) README
+ $(INSTALL) -d $(DOCDIR)/html
+ $(INSTALL) -m 644 -t $(DOCDIR)/html build/html/index.html
build/html/index.html: doc/manual.docbook
xsltproc -o $@ /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl $^
--- a/debian/doc-base Tue Nov 10 14:57:03 2009 +0000
+++ b/debian/doc-base Tue Nov 10 15:22:54 2009 +0000
@@ -3,5 +3,5 @@
Section: Programming
Format: HTML
-Index: /usr/share/doc/mercurial-server/index.html
-Files: /usr/share/doc/mercurial-server/*.html
+Index: /usr/share/doc/mercurial-server/html/index.html
+Files: /usr/share/doc/mercurial-server/html/*.html