diff options
| author | Steven Rostedt <srostedt@redhat.com> | 2010-06-10 17:53:51 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2010-06-10 17:53:51 -0400 |
| commit | 3c95290d3fb593145b8ce1163d795a08f05e112c (patch) | |
| tree | e6fc1bea660993e4eaaf5b716bef577d6fbf692e /Documentation/Makefile | |
| parent | d01b699fffc573e7653e00d608444735c04f9dca (diff) | |
| parent | b09e5f4f3fc5c8fc2c51376050af19660c8053f4 (diff) | |
Merge branch 'kernelshark-devel' into trace-cmd
Conflicts:
Makefile
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/Makefile')
| -rw-r--r-- | Documentation/Makefile | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index b7c17e7..be3711f 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile | |||
| @@ -87,7 +87,25 @@ $(MAN1_INSTALL): %.1.install : %.1 force | |||
| 87 | $(MAN5_INSTALL): %.5.install : %.5 force | 87 | $(MAN5_INSTALL): %.5.install : %.5 force |
| 88 | $(Q)$(call do_install,$<,$(man_dir_SQ)/man5) | 88 | $(Q)$(call do_install,$<,$(man_dir_SQ)/man5) |
| 89 | 89 | ||
| 90 | install: $(MAN1_INSTALL) $(MAN5_INSTALL) | 90 | html_dir = $(src)/HTML |
| 91 | image_dir = $(html_dir)/images | ||
| 92 | |||
| 93 | HTML = $(wildcard $(html_dir)/*.html) | ||
| 94 | IMGS = $(wildcard $(image_dir)/*.png) | ||
| 95 | |||
| 96 | HTML_INSTALL = $(subst .html,.html.install,$(HTML)) | ||
| 97 | IMGS_INSTALL = $(subst .png,.png.install,$(IMGS)) | ||
| 98 | |||
| 99 | $(HTML_INSTALL): %.html.install : %.html force | ||
| 100 | $(Q)$(call do_install, $<, '$(html_install_SQ)') | ||
| 101 | |||
| 102 | $(IMGS_INSTALL): %.png.install : %.png force | ||
| 103 | $(Q)$(call do_install, $<, '$(img_install_SQ)') | ||
| 104 | |||
| 105 | |||
| 106 | GUI_INSTALL = $(HTML_INSTALL) $(IMGS_INSTALL) | ||
| 107 | |||
| 108 | install: $(MAN1_INSTALL) $(MAN5_INSTALL) $(GUI_INSTALL) | ||
| 91 | 109 | ||
| 92 | clean: | 110 | clean: |
| 93 | (cd $(obj); \ | 111 | (cd $(obj); \ |
