Commit 8fa38bc3 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] add warning to DocBook/Makefile

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  maximilian attems <janitor@sternwelten.at>

Print something friendlier than:

/bin/sh: fig2dev: command not found
make[1]: *** [Documentation/DocBook/parport-share.eps] Error 127
make: *** [pdfdocs] Error 2
parent 02a1bef0
......@@ -149,12 +149,18 @@ quiet_cmd_fig2eps = FIG2EPS $@
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)
###
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment