summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-03-03 01:52:07 +0000
committerKarl Berry <karl@freefriends.org>2008-03-03 01:52:07 +0000
commit2f91cd56f89b8df6195e8492d65523ef1528c1d0 (patch)
tree58199032d179e1a573e063fa4b4fc0994520c0b2 /Master/tlpkg
parentc8d66e28159df3f5f2b35e6f367ecc98956e7105 (diff)
doc tweaks
git-svn-id: svn://tug.org/texlive/trunk@6816 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tlpdb2pkgver23
1 files changed, 11 insertions, 12 deletions
diff --git a/Master/tlpkg/bin/tlpdb2pkgver b/Master/tlpkg/bin/tlpdb2pkgver
index 85c3716c2a2..504fc454c3a 100755
--- a/Master/tlpkg/bin/tlpdb2pkgver
+++ b/Master/tlpkg/bin/tlpdb2pkgver
@@ -1,8 +1,8 @@
#!/usr/bin/env perl
# $Id$
# create-package-list
-# Create the package list of the current installation
-# Copyright 2007 Norbert Preining
+# Create the minimal package list (tlpver) of the current installation.
+# Copyright 2007, 2008 Norbert Preining
#
# This file is licensed under the GNU General Public License version 2
# or any later version.
@@ -35,16 +35,15 @@ if ($opt_debug) {
die "$0: missing tlpdb argument; try --help if you need it.\n" if ($#ARGV<0);
die "cannot read tlpdb file $ARGV[0]." if (! -r "$ARGV[0]");
-
# backwards compatibility
my $root;
-if ("$ARGV[0]" =~ m,texlive.tlpdb$,) {
- $root = dirname(dirname("$ARGV[0]"));
+if ($ARGV[0] =~ m,texlive.tlpdb$,) {
+ $root = dirname(dirname($ARGV[0]));
} else {
- $root = "$ARGV[0]";
+ $root = $ARGV[0];
}
-my $tldb = new TeXLive::TLPDB ( root => "$root" );
+my $tldb = new TeXLive::TLPDB ("root" => $root);
$tldb->generate_packagelist;
@@ -52,11 +51,11 @@ __END__
=head1 NAME
-create-package-list - generate a list of TeX Live packages with revisions
+tlpdb2pkgver - generate a list of TeX Live packages with revisions
=head1 SYNOPSIS
-create-package-list [OPTION]... /path/to/root/of/installation/
+tlpdb2pkgver [OPTION]... /path/to/root/of/installation/
=head1 OPTIONS
@@ -65,9 +64,9 @@ See the tlpfiles documentation for details.
=head1 DESCRIPTION
-B<create-package-list> generates the list of packages with revisions
-from the TeX Live Installation present at the location specified
-at the command line.
+B<tlpdb2pkgver> generates the minimal list of packages with revisions
+(C<tlpdb.pkgver>) from the TeX Live installation present at the location
+specified at the command line.
=head1 AUTHORS AND COPYRIGHT