aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-04-09 12:29:57 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-04-09 12:48:07 -0400
commit9a6f8264525228eab1baee09f567a5d72c05b0ac (patch)
tree485901a5066d499ab8e82fc26a01bfcd630d6954 /Documentation
parent933e3d54c021be56213b1475e5ac4fbebc7b48f1 (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/Makefile20
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
88install: $(MAN1_INSTALL) $(MAN5_INSTALL) 88html_dir = $(src)/HTML
89image_dir = $(html_dir)/images
90
91HTML = $(wildcard $(html_dir)/*.html)
92IMGS = $(wildcard $(image_dir)/*.png)
93
94HTML_INSTALL = $(subst .html,.html.install,$(HTML))
95IMGS_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
104GUI_INSTALL = $(HTML_INSTALL) $(IMGS_INSTALL)
105
106install: $(MAN1_INSTALL) $(MAN5_INSTALL) $(GUI_INSTALL)
89 107
90clean: 108clean:
91 (cd $(obj); \ 109 (cd $(obj); \