diff options
| author | Steven Rostedt <srostedt@redhat.com> | 2010-03-25 23:45:30 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2010-03-25 23:45:30 -0400 |
| commit | b6575cbf73b04fc7d7f44742ee9d33058557142d (patch) | |
| tree | d9e6f2e37a5477a628c938477d3fc3f0f7fa7c48 | |
| parent | a62e67ff1d007a5f1d9e064247b345d0a12e3090 (diff) | |
build: Hide the annoying output that xsltproc writes when completed
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
| -rw-r--r-- | Documentation/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index 6f23595..4644dc5 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile | |||
| @@ -6,10 +6,12 @@ ifeq ($(VERBOSE),1) | |||
| 6 | Q = | 6 | Q = |
| 7 | print_asciidoc = | 7 | print_asciidoc = |
| 8 | print_xsltproc = | 8 | print_xsltproc = |
| 9 | hide_xsltproc_output = | ||
| 9 | else | 10 | else |
| 10 | Q = @ | 11 | Q = @ |
| 11 | print_asciidoc = echo ' ASCIIDOC '`basename $@`; | 12 | print_asciidoc = echo ' ASCIIDOC '`basename $@`; |
| 12 | print_xsltproc = echo ' XSLTPROC '`basename $@`; | 13 | print_xsltproc = echo ' XSLTPROC '`basename $@`; |
| 14 | hide_xsltproc_output = 2> /dev/null | ||
| 13 | endif | 15 | endif |
| 14 | 16 | ||
| 15 | define manpage.xsl | 17 | define manpage.xsl |
| @@ -28,7 +30,7 @@ do_asciidoc_build = \ | |||
| 28 | 30 | ||
| 29 | do_xsltproc_build = \ | 31 | do_xsltproc_build = \ |
| 30 | ($(print_xsltproc) \ | 32 | ($(print_xsltproc) \ |
| 31 | xsltproc --nonet -o $@ ${MANPAGE_DOCBOOK_XSL} $<) | 33 | xsltproc --nonet -o $@ ${MANPAGE_DOCBOOK_XSL} $< $(hide_xsltproc_output)) |
| 32 | 34 | ||
| 33 | # | 35 | # |
| 34 | # Most likely a docbook.xsl is already installed on the users system | 36 | # Most likely a docbook.xsl is already installed on the users system |
