[patch 2.6] add warning DocBook/Makefile

From: maximilian attems
Date: Thu Oct 09 2003 - 05:32:29 EST


fixes the following error message,
when transfig - utilities for converting XFig figure files -
is not installed:

/bin/sh: fig2dev: command not found
make[1]: *** [Documentation/DocBook/parport-share.eps] Error 127
make: *** [pdfdocs] Error 2


please apply
ma(ks|x(imilian)?)


--- linux-2.6.0-test7/Documentation/DocBook/Makefile 2003-10-08 21:24:05.000000000 +0200
+++ linux/Documentation/DocBook/Makefile 2003-10-09 11:41:27.000000000 +0200
@@ -149,12 +149,18 @@
cmd_fig2eps = fig2dev -Leps $< $@

%.eps: %.fig
+ @(which fig2dev > /dev/null 2>&1) || \
+ (echo "*** You need to install transfig ***"; \
+ exit 1)
$(call cmd,fig2eps)

quiet_cmd_fig2png = FIG2PNG $@
cmd_fig2png = fig2dev -Lpng $< $@

%.png: %.fig
+ @(which fig2dev > /dev/null 2>&1) || \
+ (echo "*** You need to install transfig ***"; \
+ exit 1)
$(call cmd,fig2png)

###

Attachment: pgp00001.pgp
Description: PGP signature