1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
<:
# Copyright (C) 1999, 2000, 01, 02 by Davide Giovanni Maria Salvetti <salve@debian.org>.
# Copyright (C) 2004, 05, 06 by Frank Kster <frank@debian.org>.
# Copyright (C) 2006 by Julian Gilbey <jdg@debian.org>.
# $Id: common.variables 1618 2006-09-19 08:03:53Z frank $
# this list is from dpkg-1.10.9/include/dpkg.h.in:
$DPKG_EXTENSIONS="'~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist";
$PREINST_MOVE_EXT="preinst-bak";
$POSTINST_MOVE_EXT="postinst-bak";
$PURGE_EXTENSIONS="$DPKG_EXTENSIONS $PREINST_MOVE_EXT $POSTINST_MOVE_EXT";
# package specific
$ETC="/etc/";
$etc="/etc/texmf/";
$doc="/usr/share/doc/$PACKAGE/";
$TEXMFSYSVARDIR="/var/lib/texmf";
$FONTMAP_MEMORY_DIR="/var/lib/tex-common/fontmap-cfg";
$LANGUAGE_MEMORY_DIR="/var/lib/tex-common/language-cnf";
$LANGUAGE_DIR="$etc/language.d";
$LDAT_PATTERNS=<<EOL;
inhyph.tex bahyph.tex cahyph.tex hrhyph.tex czhyph.tex \\
dehypht.tex dehyphn.tex dkhyphen.tex nehyph.tex fi8hyph.tex frhyph.tex \\
gahyph.tex grhyph.tex icehyph.tex ithyph.tex lahyph.tex huhyph.tex \\
nohyph.tex nohyphb.tex nohyphbc.tex plhyph.tex pt8hyph.tex rohyphen.tex \\
ruhyphen.tex sehyph.tex skhyph.tex sihyph23.tex sphyph.tex trhyph.tex \\
ukrhyph.tex ukrhyph.t2a ukrhyph.lcy ukrhyph.ot2
EOL
$TEXMF_CNF="/etc/texmf/texmf.cnf";
@TEXMF_PARTS=qw(05TeXMF 15Plain 45TeXinputs 55Fonts 65BibTeX 75DviPS
85Misc 90TeXDoc 95NonPath);
@TEXMF_PARTS_FULLNAME = map { "texmf.d/$_.cnf"; } @TEXMF_PARTS;
$TEX_COMMON_UCF_FILES="@TEXMF_PARTS_FULLNAME updmap.d/00updmap.cfg";
#$confstatedir="/var/lib/tetex";
#$no_config_prefix="admin-wants-no";
$LSRS="/var/lib/texmf/ls-R /var/lib/texmf/ls-R-TEXMFMAIN /var/lib/texmf/ls-R-LOCAL /var/cache/fonts/ls-R";
# get the package version - must be usable in subdirectories, too)
open CHANGELOG, "debian/changelog" or die "Can't open debian/changelog: $!\n";
# get the version even if the first line is blank
while ($VERSION=<CHANGELOG>) {
last if $VERSION=~s/^$PACKAGE \((.*)\).*\n$/$1/;
}
# compute the corresponding version for a sarge backport
($rev=$VERSION) =~ s/^.*-(\d+)[^\-]*$/$1/;
if ($rev == 0) {
# if the debian revision is 0 or 0.x, don't make a backport
$SARGEVERSION = '';
} else {
($SARGEVERSION=$VERSION) =~ s/^(.*)$/$1~bpo.1/;
# ($SARGEVERSION=$VERSION)=~s/(.*-)$rev(.*)/$1$rev.0.sarge1/;
}
$FIRST_BASE_VERSION_WITH_COMMON="3.0-4";
$README_sarge = (-e 'sarge-stamp') ? 'debian/sarge/README.sarge' : '';
# upgrading stuff
$SYMLINK_MOVE_EXT="moved-by-preinst";
# debconf
$CONFMODULE="/usr/share/debconf/confmodule";
# docbase
$DINSTALL="test -x /usr/sbin/install-docs && install-docs --install";
$DREMOVE="test -x /usr/sbin/install-docs && install-docs --remove";
$docbase="/usr/share/doc-base/";
# info
$IINSTALL=qq[install-info --section "$INFOSEC" "$INFOSEC"] .
qq[ --menuentry="$INFOMENU" --description="$INFODESC" --quiet];
$IREMOVE="install-info --quiet --remove";
$info="/usr/share/info/";
# misc
$GPL="/usr/share/common-licenses/GPL";
open COPYRIGHT, 'debian/COPYRIGHT.scripts'
or die "Couldn't open debian/COPYRIGHT.scripts: $!\n";
@COPYRIGHT=<COPYRIGHT>;
close(COPYRIGHT);
# local variables:
# mode: perl
# end:
:>//
|