/[gentoo-x86]/eclass/latex-package.eclass
Gentoo

Diff of /eclass/latex-package.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.8
1# Author Matthew Turk <m-turk@nwu.edu> 1# Author Matthew Turk <satai@gentoo.org>
2# 2#
3# This eClass is designed to be easy to use and implement. The vast majority of 3# This eClass is designed to be easy to use and implement. The vast majority of
4# LaTeX packages will only need to define SRC_URI (and sometimes S) for a 4# LaTeX packages will only need to define SRC_URI (and sometimes S) for a
5# successful installation. If fonts need to be installed, then the variable 5# successful installation. If fonts need to be installed, then the variable
6# SUPPLIER must also be defined. 6# SUPPLIER must also be defined.
75 done 75 done
76 ;; 76 ;;
77 "dvi" | "ps" | "pdf") 77 "dvi" | "ps" | "pdf")
78 for i in `find . -maxdepth 1 -type f -name "*.${1}"` 78 for i in `find . -maxdepth 1 -type f -name "*.${1}"`
79 do 79 do
80 insinto /usr/share/doc/${P}
81 doins $i
80 dodoc $i 82 #dodoc -u $i
81 done 83 done
82 ;; 84 ;;
83 "tex" | "dtx") 85 "tex" | "dtx")
84 for i in `find . -maxdepth 1 -type f -name "*.${1}"` 86 for i in `find . -maxdepth 1 -type f -name "*.${1}"`
85 do 87 do
88 echo "Making documentation: $i"
86 texi2dvi -q -c --language=latex $i 89 texi2dvi -q -c --language=latex $i
87 done 90 done
88 ;; 91 ;;
89 "tfm" | "vf" | "afm" | "pfb") 92 "tfm" | "vf" | "afm" | "pfb")
90 for i in `find . -maxdepth 1 -type f -name "*.${1}"` 93 for i in `find . -maxdepth 1 -type f -name "*.${1}"`
111 ;; 114 ;;
112 "bin") 115 "bin")
113 latex-package_src_doinstall sh 116 latex-package_src_doinstall sh
114 ;; 117 ;;
115 "all") 118 "all")
116 latex-package_src_doinstall styles doc fonts bin 119 latex-package_src_doinstall styles fonts bin doc
117 ;; 120 ;;
118 esac 121 esac
119 shift 122 shift
120 done 123 done
121} 124}

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20