Skip to content

Commit 62f6a1b

Browse files
committed
docs/Makefile: also install the HTML docs
HTML docs are installed in $(docdir)/html. Signed-off-by: Jeff Squyres <[email protected]> (cherry picked from commit 8ffe33f)
1 parent f63a0e2 commit 62f6a1b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/Makefile.am

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -889,4 +889,13 @@ man1_MANS += \
889889
man3_MANS += $(OSHMEM_MAN3_BUILT)
890890
endif
891891

892+
install-data-hook:
893+
$(MKDIR_P) $(DESTDIR)$(docdir)
894+
cp -r $(srcdir)/_build/html $(DESTDIR)$(docdir)
895+
find $(DESTDIR)$(docdir) -type d -exec chmod 0755 {} \;
896+
find $(DESTDIR)$(docdir) -type f -exec chmod 0644 {} \;
897+
898+
uninstall-hook:
899+
rm -rf $(DESTDIR)$(docdir)
900+
892901
endif OPAL_INSTALL_DOCS

0 commit comments

Comments
 (0)