[PATCH] Documentation/DocBook/Makefile - 2.4.19-rc1

polo@sergioyamada.com.br
24 Jun 2002 20:13:40 -0000


Hi all,

A little patch to fix somethings that I think it isn't correct.

--- linux/Documentation/DocBook/Makefile.orig Mon Jun 24 15:50:07 2002
+++ linux/Documentation/DocBook/Makefile Mon Jun 24 15:53:36 2002
@@ -26,9 +26,15 @@
man: kernel-api-man

%.eps: %.fig
+ @(which fig2dev > /dev/null 2>&1) || \
+ (echo "*** You need to instal transfig ***"; \
+ exit 1)
fig2dev -Leps $< $@

%.png: %.fig
+ @(which fig2dev > /dev/null 2>&1) || \
+ (echo "*** You need to instal transfig ***"; \
+ exit 1)
fig2dev -Lpng $< $@

%.sgml: %.c
@@ -160,19 +166,19 @@

%.ps : %.sgml
@(which db2ps > /dev/null 2>&1) || \
- (echo "*** You need to install DocBook stylesheets ***"; \
+ (echo "*** You need to install DocBook utils ***"; \
exit 1)
db2ps $<

%.pdf : %.sgml
@(which db2pdf > /dev/null 2>&1) || \
- (echo "*** You need to install DocBook stylesheets ***"; \
+ (echo "*** You need to install DocBook utils ***"; \
exit 1)
db2pdf $<

%: %.sgml
@(which db2html > /dev/null 2>&1) || \
- (echo "*** You need to install DocBook stylesheets ***"; \
+ (echo "*** You need to install DocBook utils ***"; \
exit 1)
rm -rf $@
db2html $<
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/