build/autotools: fix doc installation Signed-off-by: Ran Benita <ran234@gmail.com>
diff --git a/Makefile.am b/Makefile.am
index 0c5732d..d832f3d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -177,8 +177,8 @@ all-local:: doc
clean-local:: clean-doc
install-data-local:: doc
- $(MKDIR_P) $(DESTDIR)$(htmldir)
- $(INSTALL_DATA) doc/html $(DESTDIR)$(htmldir)
+ $(MKDIR_P) $(DESTDIR)$(htmldir)/html
+ $(INSTALL_DATA) doc/html/* $(DESTDIR)$(htmldir)/html
uninstall-local::
rm -rf $(DESTDIR)$(htmldir)