summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-03-27 19:08:16 +0000
committerMamoru Komachi <usata@gentoo.org>2004-03-27 19:08:16 +0000
commita58be956bb6189b48921be2e303d25270eb16b0b (patch)
treee043f250ea30d8969f8d65140a4cf50f0aee735c /eclass/latex-package.eclass
parentVersion bump. Closes #45552 (Manifest recommit) (diff)
downloadgentoo-2-a58be956bb6189b48921be2e303d25270eb16b0b.tar.gz
gentoo-2-a58be956bb6189b48921be2e303d25270eb16b0b.tar.bz2
gentoo-2-a58be956bb6189b48921be2e303d25270eb16b0b.zip
Applied a patch to install bibtex styles.
Thanks to Adam Tenderholt <a-tenderholt@stanford.edu>, see bug #45770
Diffstat (limited to 'eclass/latex-package.eclass')
-rw-r--r--eclass/latex-package.eclass13
1 files changed, 9 insertions, 4 deletions
diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass
index eed89c73ebad..ba6f8358eb2b 100644
--- a/eclass/latex-package.eclass
+++ b/eclass/latex-package.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.15 2003/09/09 01:06:09 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/latex-package.eclass,v 1.16 2004/03/27 19:08:16 usata Exp $
#
# Author Matthew Turk <satai@gentoo.org>
#
@@ -107,8 +107,15 @@ latex-package_src_doinstall() {
doins $i
done
;;
+ "bst")
+ for i in `find . -maxdepth 1 -type f -name "*.bst"`
+ do
+ insinto ${TEXMF}/bibtex/bst/${PN}
+ doins $i
+ done
+ ;;
"styles")
- latex-package_src_doinstall sty cls fd clo def
+ latex-package_src_doinstall sty cls fd clo def bst
;;
"doc")
latex-package_src_doinstall tex dtx dvi ps pdf
@@ -129,7 +136,6 @@ latex-package_src_doinstall() {
latex-package_src_compile() {
debug-print function $FUNCNAME $*
- cd ${S}
for i in `find \`pwd\` -maxdepth 1 -type f -name "*.ins"`
do
einfo "Extracting from $i"
@@ -139,7 +145,6 @@ latex-package_src_compile() {
latex-package_src_install() {
debug-print function $FUNCNAME $*
- cd ${S}
latex-package_src_doinstall all
}