diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-10-29 17:00:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-30 14:38:46 -0400 |
commit | a34645f56a5dae70233701275fb8b2d979a664fd (patch) | |
tree | 111ab05a29f218b4423ccf61e1694687b9c7c53c /Documentation/DocBook/Makefile | |
parent | 4e02ed4b4a2fae34aae766a5bb93ae235f60adb8 (diff) |
docbook: fix command spacing
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@n-dimensional.de>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/DocBook/Makefile')
-rw-r--r-- | Documentation/DocBook/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index fabc06466b93..9b1f6ca100d1 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile | |||
@@ -136,7 +136,7 @@ quiet_cmd_db2ps = PS $@ | |||
136 | %.ps : %.xml | 136 | %.ps : %.xml |
137 | $(call cmd,db2ps) | 137 | $(call cmd,db2ps) |
138 | 138 | ||
139 | quiet_cmd_db2pdf = PDF $@ | 139 | quiet_cmd_db2pdf = PDF $@ |
140 | cmd_db2pdf = $(subst TYPE,pdf, $($(PDF_METHOD)template)) | 140 | cmd_db2pdf = $(subst TYPE,pdf, $($(PDF_METHOD)template)) |
141 | %.pdf : %.xml | 141 | %.pdf : %.xml |
142 | $(call cmd,db2pdf) | 142 | $(call cmd,db2pdf) |
@@ -148,7 +148,7 @@ build_main_index = rm -rf $(main_idx) && \ | |||
148 | echo '<h2>Kernel Version: $(KERNELVERSION)</h2>' >> $(main_idx) && \ | 148 | echo '<h2>Kernel Version: $(KERNELVERSION)</h2>' >> $(main_idx) && \ |
149 | cat $(HTML) >> $(main_idx) | 149 | cat $(HTML) >> $(main_idx) |
150 | 150 | ||
151 | quiet_cmd_db2html = HTML $@ | 151 | quiet_cmd_db2html = HTML $@ |
152 | cmd_db2html = xmlto xhtml $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $< && \ | 152 | cmd_db2html = xmlto xhtml $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $< && \ |
153 | echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.html"> \ | 153 | echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.html"> \ |
154 | $(patsubst %.html,%,$(notdir $@))</a><p>' > $@ | 154 | $(patsubst %.html,%,$(notdir $@))</a><p>' > $@ |