diff options
author | Norbert Preining <preining@logic.at> | 2007-11-16 12:18:08 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-16 12:18:08 +0000 |
commit | 39cf7125fb062849d46801254cec30e6216a0b20 (patch) | |
tree | e805b9bac7c9ee5af6a1bfe87df927c489128e04 /Master/tlpkg/bin | |
parent | 843cc016e8961ca328b4c3226cf4bcd26aeaa15f (diff) |
implement relative package building
relative packages are ready to be unpacked INTO a texmf tree, i.e. the
leading path component has been removed. In this case the tlpobj file
is placed into the root of the container
git-svn-id: svn://tug.org/texlive/trunk@5471 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-x | Master/tlpkg/bin/tlpdb2container | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tlpdb2container b/Master/tlpkg/bin/tlpdb2container index 6467ec84e2d..cf75e532503 100755 --- a/Master/tlpkg/bin/tlpdb2container +++ b/Master/tlpkg/bin/tlpdb2container @@ -26,11 +26,13 @@ our $mydir; our $opt_debug = 0; my $opt_type = "zip"; my $opt_outputdir = "./zip"; +my $opt_relative = 0; my $help = 0; GetOptions("outputdir=s" => \$opt_outputdir, "all!" => \$opt_all, "debug!" => \$opt_debug, + "relative!" => \$opt_relative, "type=s" => \$opt_type, "help|?" => \$help) or pod2usage(1); @@ -55,7 +57,7 @@ sub main for my $pkg (@packs) { my $obj = $tlpdb->get_package ($pkg); die "$0: no TeX Live package named $pkg in $tlpdb_path.\n" if ! $obj; - $obj->make_container($opt_type,$Master,$opt_outputdir); + $obj->make_container($opt_type,$Master,$opt_outputdir,$pkg,$opt_relative); } } @@ -85,6 +87,9 @@ The location where created container files are placed, defaults to ./zip. Specifies the type of container to be used. C<zip> generates zip files, while C<lzma> generates .tar.lzma files. +=item B<-relative> +Create a relative package, see TeXLive::TLPOBJ.1 for details. + =back The standard options C<-help> and C<-debug> are also accepted. |