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

From: polo@sergioyamada.com.br
Date: Mon Jun 24 2002 - 15:13:40 EST


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/



This archive was generated by hypermail 2b29 : Sun Jun 30 2002 - 22:00:08 EST