build/autotools: fix doc installation
authorRan Benita <ran234@gmail.com>
Fri, 4 Aug 2017 12:31:06 +0000 (15:31 +0300)
committerRan Benita <ran234@gmail.com>
Fri, 4 Aug 2017 12:43:13 +0000 (15:43 +0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
Makefile.am

index 0c5732d..d832f3d 100644 (file)
@@ -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)