summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2011-04-27 01:21:58 +0000
committerNorbert Preining <preining@logic.at>2011-04-27 01:21:58 +0000
commit904ad4b4e51304ce7ebb01c3d931bd6d18dee9c9 (patch)
treef75a41ceb429540f16f2f950d1ffba66d4686d02 /Master/tlpkg/TeXLive
parent6a8784743fbdecb3b2b1157208afab9ba52391ad (diff)
rename maxrelease to minrelease and document its behaviour
git-svn-id: svn://tug.org/texlive/trunk@22215 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLPDB.pm24
1 files changed, 17 insertions, 7 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm
index 4f01c5899c4..010888ae0da 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -59,7 +59,7 @@ C<TeXLive::TLPDB> -- A database of TeX Live Packages
$tlpdb->config_doc_container;
$tlpdb->config_container_format;
$tlpdb->config_release;
- $tlpdb->config_maxrelease;
+ $tlpdb->config_minrelease;
$tlpdb->config_revision;
$tlpdb->options;
$tlpdb->option($key, [$value]);
@@ -930,17 +930,17 @@ sub config_release {
=pod
-=item C<< $tlpdb->config_maxrelease >>
+=item C<< $tlpdb->config_minrelease >>
-Returns the currently allowed maximal release. See Options below.
+Returns the currently allowed minimal release. See Options below.
=cut
-sub config_maxrelease {
+sub config_minrelease {
my $self = shift;
if (defined($self->{'tlps'}{'00texlive.config'})) {
foreach my $d ($self->{'tlps'}{'00texlive.config'}->depends) {
- if ($d =~ m!^maxrelease/(.*)$!) {
+ if ($d =~ m!^minrelease/(.*)$!) {
return "$1";
}
}
@@ -1370,9 +1370,9 @@ which set one or more of the following options:
=over 4
-=item C<container_split_src_files>
+=item C<container_split_src_files/[01]>
-=item C<container_split_doc_files>
+=item C<container_split_doc_files/[01]>
These options specify that at container generation time the source and
documentation files for a package have been put into a separate container
@@ -1383,6 +1383,16 @@ named C<package.source.extension> and C<package.doc.extension>.
This option specifies a format for containers. The currently supported
formats are C<xz> and C<zip>. But note that C<zip> is untested.
+=item C<release/I<relspec>>
+
+This option specifies the current release. The first four characters must
+be a year.
+
+=item C<minrelease/I<relspec>>
+
+This option specifies the minimum release for which this repository is
+valid.
+
=back
To set these options the respective lines should be added to