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

Diff of /eclass/texlive-module.eclass

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

Revision 1.53 Revision 1.54
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-module.eclass,v 1.53 2010/10/23 23:51:58 aballier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/texlive-module.eclass,v 1.54 2010/10/24 00:41:41 aballier Exp $
4 4
5# @ECLASS: texlive-module.eclass 5# @ECLASS: texlive-module.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# tex@gentoo.org 7# tex@gentoo.org
8# 8#
217 217
218texlive-module_make_language_lua_lines() { 218texlive-module_make_language_lua_lines() {
219 local lefthyphenmin righthyphenmin synonyms name file file_patterns file_exceptions luaspecial 219 local lefthyphenmin righthyphenmin synonyms name file file_patterns file_exceptions luaspecial
220 local dest="${S}/language.${PN}.dat.lua" 220 local dest="${S}/language.${PN}.dat.lua"
221 eval $@ 221 eval $@
222 [ -z "$lefthyphenmin" ] && lefthyphenmin="2"
223 [ -z "$righthyphenmin" ] && righthyphenmin="3"
222 einfo "Generating language.dat.lua entry for $@" 224 einfo "Generating language.dat.lua entry for $@"
223 printf "\t['%s'] = {\n" "$name" >> "$dest" 225 printf "\t['%s'] = {\n" "$name" >> "$dest"
224 printf "\t\tloader = '%s',\n" "$file" >> "$dest" 226 printf "\t\tloader = '%s',\n" "$file" >> "$dest"
225 printf "\t\tlefthyphenmin = %s,\n\t\trighthyphenmin = %s,\n" "$lefthyphenmin" "$righthyphenmin" >> "$dest" 227 printf "\t\tlefthyphenmin = %s,\n\t\trighthyphenmin = %s,\n" "$lefthyphenmin" "$righthyphenmin" >> "$dest"
226 printf "\t\tsynonyms = {%s },\n" "$(texlive-module_synonyms_to_language_lua_line "$synonyms")" >> "$dest" 228 printf "\t\tsynonyms = {%s },\n" "$(texlive-module_synonyms_to_language_lua_line "$synonyms")" >> "$dest"

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.20