linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation/DocBook/Makefile - 2.4.19-rc1
@ 2002-06-24 20:13 polo
  0 siblings, 0 replies; only message in thread
From: polo @ 2002-06-24 20:13 UTC (permalink / raw)
  To: linux-kernel


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 $<

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

only message in thread, other threads:[~2002-06-24 20:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-24 20:13 [PATCH] Documentation/DocBook/Makefile - 2.4.19-rc1 polo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).