diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2020-10-18 22:19:12 +0100 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2020-10-19 09:39:03 -0400 |
commit | 274c43dcae4de3291f3a2ca8cad53262ea4604fa (patch) | |
tree | 8a5a7da84b3f70eedd3b951ec975eb2043298738 | |
parent | 77d60b7744d47425de58d5ab71ca650a2dad74cd (diff) | |
download | libtraceevent-274c43dcae4de3291f3a2ca8cad53262ea4604fa.tar.gz |
libtraceevent: install html files
Only the man pages were installed using "make install". Add rules to
install html files also.
Link: https://lkml.kernel.org/r/20201018211912.17541-1-sudipm.mukherjee@gmail.com
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r-- | Documentation/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index 3a981be..2dba73c 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -147,7 +147,7 @@ html: $(MAN_HTML) $(MAN_HTML) $(DOC_MAN3): asciidoc.conf -install: install-man +install: install-man install-html check-man-tools: ifdef missing_tools @@ -161,12 +161,22 @@ do-install-man: man install-man: check-man-tools man do-install-man -uninstall: uninstall-man +do-install-html: html + $(call QUIET_INSTALL, Documentation-html) \ + $(INSTALL) -d -m 755 $(DESTDIR)$(htmldir); \ + $(INSTALL) -m 644 $(OUTPUT)*.html $(DESTDIR)$(htmldir); + +install-html: check-man-tools html do-install-html + +uninstall: uninstall-man uninstall-html uninstall-man: $(call QUIET_UNINST, Documentation-man) \ $(Q)$(RM) $(addprefix $(DESTDIR)$(man3dir)/,$(DOC_MAN3)) +uninstall-html: + $(call QUIET_UNINST, Documentation-html) \ + $(Q)$(RM) $(addprefix $(DESTDIR)$(htmldir)/,$(MAN_HTML)) ifdef missing_tools DO_INSTALL_MAN = $(warning Please install $(missing_tools) to have the man pages installed) |