/[gentoo-x86]/eclass/texlive-common.eclass
Gentoo

Diff of /eclass/texlive-common.eclass

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

Revision 1.6 Revision 1.7
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.6 2008/08/30 12:33:37 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-common.eclass,v 1.7 2008/09/02 09:56:31 aballier Exp $
4 4
5# @ECLASS: texlive-common.eclass 5# @ECLASS: texlive-common.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# tex@gentoo.org 7# tex@gentoo.org
8# 8#
106etexlinks() { 106etexlinks() {
107 # Install symlinks from formats to engines 107 # Install symlinks from formats to engines
108 texlive-common_do_symlinks $(sed '/^[ ]*#/d; /^[ ]*$/d' "$1" | awk '{print $1, $2}') 108 texlive-common_do_symlinks $(sed '/^[ ]*#/d; /^[ ]*$/d' "$1" | awk '{print $1, $2}')
109} 109}
110 110
111# @FUNCTION: dobin_texmf_scripts
112# @USAGE: < file1 file2 ... >
113# @DESCRIPTION:
114# Installs a script from the texmf tree
115
116dobin_texmf_scripts() {
117 while [ $# -gt 0 ] ; do
118 local trg=$(basename ${1} | sed 's,\.[^/]*$,,' | tr '[:upper:]' '[:lower:]')
119 newbin ${1} $trg || die "failed to install ${1} as $trg"
120 shift
121 done
122}

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

  ViewVC Help
Powered by ViewVC 1.1.20