Skip to contentSkip to conversation

Documentation/DocBook/Makefile - 2.4.19-rc1

PATCH New [email protected] 1 participant 1 message Jun 24, 2002 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation/DocBook/Makefile - 2.4.19-rc1

Hi all,

A little patch to fix somethings that I think it isn't correct.

Documentation/DocBook/Makefile Mon Jun 24 15:53:36 2002 renamed from Documentation/DocBook/Makefile.orig Mon Jun 24 15:50:07 2002 +9 -3
@@ -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 $<