aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Ravnborg2005-05-01 08:59:28 -0700
committerLinus Torvalds2005-05-01 08:59:28 -0700
commitfd4a3244941ed74fffc24b64857977270e6f64e2 (patch)
tree2962590ab577d930f914141fc753e46af7c8df59
parent4fa35166c540073a2c6e450683c776f68e8b5569 (diff)
[PATCH] docbook: Tell users to install xmlto, not stylesheets
We have at least two users which were confused by these messages, myself included. Signed-off-by: Alexey Dobriyan <adobriyan@mail.ru> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--Documentation/DocBook/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index 83bcb0ae0917..e69b3d2e7884 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -101,7 +101,7 @@ quiet_cmd_db2ps = XMLTO $@
cmd_db2ps = xmlto ps $(XMLTOFLAGS) -o $(dir $@) $<
%.ps : %.xml
@(which xmlto > /dev/null 2>&1) || \
- (echo "*** You need to install DocBook stylesheets ***"; \
+ (echo "*** You need to install xmlto ***"; \
exit 1)
$(call cmd,db2ps)
@@ -109,7 +109,7 @@ quiet_cmd_db2pdf = XMLTO $@
cmd_db2pdf = xmlto pdf $(XMLTOFLAGS) -o $(dir $@) $<
%.pdf : %.xml
@(which xmlto > /dev/null 2>&1) || \
- (echo "*** You need to install DocBook stylesheets ***"; \
+ (echo "*** You need to install xmlto ***"; \
exit 1)
$(call cmd,db2pdf)
@@ -120,7 +120,7 @@ quiet_cmd_db2html = XMLTO $@
%.html: %.xml
@(which xmlto > /dev/null 2>&1) || \
- (echo "*** You need to install DocBook stylesheets ***"; \
+ (echo "*** You need to install xmlto ***"; \
exit 1)
@rm -rf $@ $(patsubst %.html,%,$@)
$(call cmd,db2html)
@@ -131,7 +131,7 @@ quiet_cmd_db2man = XMLTO $@
cmd_db2man = if grep -q refentry $<; then xmlto man $(XMLTOFLAGS) -o $(obj)/man $< ; gzip -f $(obj)/man/*.9; fi
%.9 : %.xml
@(which xmlto > /dev/null 2>&1) || \
- (echo "*** You need to install DocBook stylesheets ***"; \
+ (echo "*** You need to install xmlto ***"; \
exit 1)
$(call cmd,db2man)
@touch $@