Commit 5c2da7795c773931fb8e3d29a58847d894ed3ac8

Ran Benita 2017-08-04T15:31:06

build/autotools: fix doc installation Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)