Fixed some minor woes that cropped up during a new package addition...
authorMatthew Turk <satai@gentoo.org>
Tue, 5 Nov 2002 03:58:33 +0000 (03:58 +0000)
committerMatthew Turk <satai@gentoo.org>
Tue, 5 Nov 2002 03:58:33 +0000 (03:58 +0000)
eclass/latex-package.eclass

index 18963b2eef20fc5b96506661baebe485a4dfc85c..3cabc6aeee72c33b5b7fc3965d218401c7c5e637 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
 # Author Matthew Turk <satai@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.10 2002/10/25 19:57:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.11 2002/11/05 03:58:33 satai Exp $
 #
 # This eClass is designed to be easy to use and implement.  The vast majority of
 # LaTeX packages will only need to define SRC_URI (and sometimes S) for a
@@ -85,13 +85,13 @@ latex-package_src_doinstall() {
                     #dodoc -u $i
                 done
                 ;;
-        "tex" | "dtx")
-            for i in `find . -maxdepth 1 -type f -name "*.${1}"`
-        do
-            echo "Making documentation: $i"
-            texi2dvi -q -c --language=latex $i
-        done
-            ;;
+            "tex" | "dtx")
+                for i in `find . -maxdepth 1 -type f -name "*.${1}"`
+                do
+                    echo "Making documentation: $i"
+                    texi2dvi -q -c --language=latex $i &> /dev/null
+                    done
+                ;;
             "tfm" | "vf" | "afm" | "pfb")
                 for i in `find . -maxdepth 1 -type f -name "*.${1}"`
                 do