lkml.org 
[lkml]   [2005]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -mm] 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>

--- linux-2.6.12-rc3-mm1/Documentation/DocBook/Makefile 2005-04-30 11:20:31.000000000 +0000
+++ linux-2.6.12-rc3-mm1-xmlto/Documentation/DocBook/Makefile 2005-04-30 11:22:25.000000000 +0000
@@ -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 $@
\
 
 \ /
  Last update: 2005-04-30 09:35    [W:0.338 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site