summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-09-30 09:51:30 +0000
committerNorbert Preining <preining@logic.at>2009-09-30 09:51:30 +0000
commit9c760f4b1b9ab7ffabb2e17b1eed9202fb86aef1 (patch)
tree5bf50f24d999eab510bc45f4a3d10144219caaa0
parentc670bbd52c5f24a933726a17eaf0e3ce148db0fd (diff)
split translations into their own package. Let us see how it works out
git-svn-id: svn://tug.org/texlive/trunk@15574 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/tlpkg/bin/tl-update-install-pkg8
-rw-r--r--Master/tlpkg/tlpsrc/texlive-msg-translations.tlpsrc6
-rw-r--r--Master/tlpkg/tlpsrc/texlive.infra.tlpsrc4
3 files changed, 17 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-install-pkg b/Master/tlpkg/bin/tl-update-install-pkg
index c9398fa7f06..a1487936a41 100755
--- a/Master/tlpkg/bin/tl-update-install-pkg
+++ b/Master/tlpkg/bin/tl-update-install-pkg
@@ -114,6 +114,7 @@ die "$0: Output directory not writable: $outputdir.\n" unless -w $outputdir;
my $tlpdb = TeXLive::TLPDB->new ("root" => $installerdir);
die "$0: Cannot find tlpdb in $installerdir.\n" unless defined $tlpdb;
+
my $tlp = $tlpdb->get_package("00texlive.installer");
die "$0: no 00texlive.installer in ${installerdir}'s texlive.tlpdb"
unless defined $tlp;
@@ -122,11 +123,18 @@ my $tlpinfra = $tlpdb->get_package("texlive.infra");
die "$0: no texlive.infra in ${installerdir}'s texlive.tlpdb"
unless defined $tlpinfra;
+my $tlptrans = $tlpdb->get_package("texlive-msg-translations");
+die "$0: no texlive-msg-translations in ${installerdir}'s texlive.tlpdb"
+ unless defined $tlptrans;
+
my @unix = ();
push @unix, $tlp->runfiles;
push @unix, grep(!/^texmf\//, $tlpinfra->runfiles);
push @unix, $tlp->docfiles;
+# add translations
+push @unix, $tlptrans->runfiles;
+
# add the texlive-XX docs in pdf and html format if the option is given.
#
if ($opt_texlivedocs) {
diff --git a/Master/tlpkg/tlpsrc/texlive-msg-translations.tlpsrc b/Master/tlpkg/tlpsrc/texlive-msg-translations.tlpsrc
new file mode 100644
index 00000000000..78c2aac069a
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/texlive-msg-translations.tlpsrc
@@ -0,0 +1,6 @@
+category TLCore
+shortdesc translations of the TeX Live installer and TeX Live Manager
+longdesc This package contains the translated messages of the TeX Live
+longdesc installer and TeX Live Manager.
+#
+runpattern d tlpkg/translations
diff --git a/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc b/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc
index 341ad0c2f08..d8b5e1e7f1f 100644
--- a/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/texlive.infra.tlpsrc
@@ -12,7 +12,9 @@ runpattern d readme-html.dir
runpattern d readme-txt.dir
runpattern d texmf/scripts/texlive/tlmgrgui
runpattern d tlpkg/TeXLive
-runpattern d tlpkg/translations
+# we move the translations out of the main package to make updates easier
+# runpattern d tlpkg/translations
+depend texlive-msg-translations
runpattern f LICENSE*
runpattern f README
runpattern f README*