diff options
author | Norbert Preining <preining@logic.at> | 2007-11-12 14:54:41 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-12 14:54:41 +0000 |
commit | c9f9a5d52d853d226984e92cdc88ebf4773935bb (patch) | |
tree | 808d3a522a25b02c63fb058da86803a040b61ab5 /Master/tlpkg/TeXLive | |
parent | 24fb5db2efc662750c66a574ff7d4f26da25b5cb (diff) |
update documentation, update man page
git-svn-id: svn://tug.org/texlive/trunk@5410 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r-- | Master/tlpkg/TeXLive/TLPOBJ.pm | 37 |
1 files changed, 15 insertions, 22 deletions
diff --git a/Master/tlpkg/TeXLive/TLPOBJ.pm b/Master/tlpkg/TeXLive/TLPOBJ.pm index 96f954ba923..e51421d8bbf 100644 --- a/Master/tlpkg/TeXLive/TLPOBJ.pm +++ b/Master/tlpkg/TeXLive/TLPOBJ.pm @@ -356,20 +356,6 @@ sub writeout_simple { } } -sub make_packagecontainer { - my ($self,$type,$instroot,$destdir,$zipname) = @_; - if ($type eq "zip") { - $self->make_zip($instroot,$destdir,$zipname); - return 0; - } - if ($type eq "lzma") { - warn("not implemented yet: lzma compression!\n"); - return 1; - } - die("Container method $type unknown!\n"); -} - - sub make_zip { my ($self,$type,$instroot,$destdir,$zipname) = @_; my $zipn; @@ -933,20 +919,27 @@ or the filehandle if given: debugging function for comparison with C<tpm>/C<tlps>, will go away. -=item C<make_zip($instroot[, $destdir[, $zipname]])> +=item C<make_zip($type,$instroot[, $destdir[, $zipname]])> -creates a zip file of the arch B<independent> files in the C<TLPOBJ> +creates a container file of the arch B<independent> files in the C<TLPOBJ> in C<$destdir> (if not defined then C<< TLPOBJ->zipdir >> is used). -The file name of the created zipfile is C<$zipname> (if not -present C<< $tlpobj->name.zip >>). -If the package contains C<"binfiles">, then zip files for +The C<$type> variable specifies the type of container to be used. +Currently only C<zip> or C<lzma> are allowed, and are generating +zip files and tar.lzma files, respectively. + +The file name of the created container file is C<$zipname.extension>, +where extension is either C<.zip> or C<.tar.lzma>, depending on the +setting of C<$type>. If no C<$zipname> is specified the package name +is used. + +If the package contains C<"binfiles">, then container files for all archs containing B<only> the binfiles are created, and -the zipfile name is C<$zipname.$arch.zip> +those container files name is C<$zipname.$arch.$extension> All the arch independent zip files B<also> contain the respective -C<TLPOBJ> file in C<tlpkg/tlpobj/$name.tlpobj> so C<$zipname.zip> does -contain this tlpobj file, while C<$zipname.$arch.zip> does NOT. +C<TLPOBJ> file in C<tlpkg/tlpobj/$name.tlpobj> so C<$zipname.$extension> does +contain this tlpobj file, while C<$zipname.$arch.$extension> does NOT. The argument C<$instroot> specifies the root of the installation from which the files should be taken. |