aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 $@
101 cmd_db2ps = xmlto ps $(XMLTOFLAGS) -o $(dir $@) $< 101 cmd_db2ps = xmlto ps $(XMLTOFLAGS) -o $(dir $@) $<
102%.ps : %.xml 102%.ps : %.xml
103 @(which xmlto > /dev/null 2>&1) || \ 103 @(which xmlto > /dev/null 2>&1) || \
104 (echo "*** You need to install DocBook stylesheets ***"; \ 104 (echo "*** You need to install xmlto ***"; \
105 exit 1) 105 exit 1)
106 $(call cmd,db2ps) 106 $(call cmd,db2ps)
107 107
@@ -109,7 +109,7 @@ quiet_cmd_db2pdf = XMLTO $@
109 cmd_db2pdf = xmlto pdf $(XMLTOFLAGS) -o $(dir $@) $< 109 cmd_db2pdf = xmlto pdf $(XMLTOFLAGS) -o $(dir $@) $<
110%.pdf : %.xml 110%.pdf : %.xml
111 @(which xmlto > /dev/null 2>&1) || \ 111 @(which xmlto > /dev/null 2>&1) || \
112 (echo "*** You need to install DocBook stylesheets ***"; \ 112 (echo "*** You need to install xmlto ***"; \
113 exit 1) 113 exit 1)
114 $(call cmd,db2pdf) 114 $(call cmd,db2pdf)
115 115
@@ -120,7 +120,7 @@ quiet_cmd_db2html = XMLTO $@
120 120
121%.html: %.xml 121%.html: %.xml
122 @(which xmlto > /dev/null 2>&1) || \ 122 @(which xmlto > /dev/null 2>&1) || \
123 (echo "*** You need to install DocBook stylesheets ***"; \ 123 (echo "*** You need to install xmlto ***"; \
124 exit 1) 124 exit 1)
125 @rm -rf $@ $(patsubst %.html,%,$@) 125 @rm -rf $@ $(patsubst %.html,%,$@)
126 $(call cmd,db2html) 126 $(call cmd,db2html)
@@ -131,7 +131,7 @@ quiet_cmd_db2man = XMLTO $@
131 cmd_db2man = if grep -q refentry $<; then xmlto man $(XMLTOFLAGS) -o $(obj)/man $< ; gzip -f $(obj)/man/*.9; fi 131 cmd_db2man = if grep -q refentry $<; then xmlto man $(XMLTOFLAGS) -o $(obj)/man $< ; gzip -f $(obj)/man/*.9; fi
132%.9 : %.xml 132%.9 : %.xml
133 @(which xmlto > /dev/null 2>&1) || \ 133 @(which xmlto > /dev/null 2>&1) || \
134 (echo "*** You need to install DocBook stylesheets ***"; \ 134 (echo "*** You need to install xmlto ***"; \
135 exit 1) 135 exit 1)
136 $(call cmd,db2man) 136 $(call cmd,db2man)
137 @touch $@ 137 @touch $@