diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-04-09 12:29:57 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-04-09 12:48:07 -0400 |
commit | 9a6f8264525228eab1baee09f567a5d72c05b0ac (patch) | |
tree | 485901a5066d499ab8e82fc26a01bfcd630d6954 /Documentation | |
parent | 933e3d54c021be56213b1475e5ac4fbebc7b48f1 (diff) |
kernelshark/build: Install HTML doc and reference it
Install the HTML document on "make install_doc" and have the
kernelshark executable be able to reference that location.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/Makefile | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index 7ed8877..8e53773 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile | |||
@@ -85,7 +85,25 @@ $(MAN1_INSTALL): %.1.install : %.1 force | |||
85 | $(MAN5_INSTALL): %.5.install : %.5 force | 85 | $(MAN5_INSTALL): %.5.install : %.5 force |
86 | $(Q)$(call do_install, $<, '$(man_dir_SQ)/man5') | 86 | $(Q)$(call do_install, $<, '$(man_dir_SQ)/man5') |
87 | 87 | ||
88 | install: $(MAN1_INSTALL) $(MAN5_INSTALL) | 88 | html_dir = $(src)/HTML |
89 | image_dir = $(html_dir)/images | ||
90 | |||
91 | HTML = $(wildcard $(html_dir)/*.html) | ||
92 | IMGS = $(wildcard $(image_dir)/*.png) | ||
93 | |||
94 | HTML_INSTALL = $(subst .html,.html.install,$(HTML)) | ||
95 | IMGS_INSTALL = $(subst .png,.png.install,$(IMGS)) | ||
96 | |||
97 | $(HTML_INSTALL): %.html.install : %.html force | ||
98 | $(Q)$(call do_install, $<, '$(html_install_SQ)') | ||
99 | |||
100 | $(IMGS_INSTALL): %.png.install : %.png force | ||
101 | $(Q)$(call do_install, $<, '$(img_install_SQ)') | ||
102 | |||
103 | |||
104 | GUI_INSTALL = $(HTML_INSTALL) $(IMGS_INSTALL) | ||
105 | |||
106 | install: $(MAN1_INSTALL) $(MAN5_INSTALL) $(GUI_INSTALL) | ||
89 | 107 | ||
90 | clean: | 108 | clean: |
91 | (cd $(obj); \ | 109 | (cd $(obj); \ |