mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 2.6] add warning DocBook/Makefile
@ 2003-10-09 10:29 maximilian attems
  0 siblings, 0 replies; only message in thread
From: maximilian attems @ 2003-10-09 10:29 UTC (permalink / raw)
  To: linux-kernel; +Cc: Trivial Patch Monkey, Tim Waugh, SamRavnborg

[-- Attachment #1: Type: text/plain, Size: 909 bytes --]

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 #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-09 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-09 10:29 [patch 2.6] add warning DocBook/Makefile maximilian attems

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®