[PATCH] Align quiet command output for htmldocs, pdfdocs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The total width of the command name plus spaces should be
8 characters, but were 7 and 9, respectively. With 8 chars,
all commands are now lining up nicely.

The mandocs, psdocs, xmldocs commands are OK.

Before:
 HOSTCC  scripts/basic/docproc
 DOCPROC Documentation/DocBook/deviceiobook.xml
 HTML   Documentation/DocBook/deviceiobook.html
 DOCPROC Documentation/DocBook/wanbook.xml
 PDF      Documentation/DocBook/wanbook.pdf

After:
 HOSTCC  scripts/basic/docproc
 DOCPROC Documentation/DocBook/deviceiobook.xml
 HTML    Documentation/DocBook/deviceiobook.html
 DOCPROC Documentation/DocBook/wanbook.xml
 PDF     Documentation/DocBook/wanbook.pdf

Signed-off-by: Hans Ulrich Niedermann <hun@xxxxxxxxxxxxxxxx>
---
Documentation/DocBook/Makefile |    4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index 0eb0d02..bb51402 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -129,7 +129,7 @@ quiet_cmd_db2ps = PS      $@
%.ps : %.xml
	$(call cmd,db2ps)

-quiet_cmd_db2pdf = PDF      $@
+quiet_cmd_db2pdf = PDF     $@
      cmd_db2pdf = $(subst TYPE,pdf, $($(PDF_METHOD)template))
%.pdf : %.xml
	$(call cmd,db2pdf)
@@ -141,7 +141,7 @@ build_main_index = rm -rf $(main_idx) && \
		   echo '<h2>Kernel Version: $(KERNELVERSION)</h2>' >> $(main_idx) && \
		   cat $(HTML) >> $(main_idx)

-quiet_cmd_db2html = HTML   $@
+quiet_cmd_db2html = HTML    $@
      cmd_db2html = xmlto xhtml $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $< && \
		echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.html"> \
        $(patsubst %.html,%,$(notdir $@))</a><p>' > $@
--
1.5.5.2

--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux