1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2025-11-20 13:03:33 +00:00

Add -t ZONETABTYPE option to 'tzselect'.

This is a backwards-compatible way of transitioning to a less
politically-charged approach to choosing TZ values.  A new time
zone table time.tab acts like zone.tab, except it omits TZ values
that are present only for political reasons.  tzselect has a new
"-t zonetabtype" option that lets users select which time zone table
to use, and installers can select the default table.  The zone.tab
file does not change, and the default tzselect table for now is
zone.tab.  This avoids the backward-compatibility concerns
expressed on the tz mailing list; see, for example,
the discussion surrounding Derick Rethans's comments in
<http://mm.icann.org/pipermail/tz/2013-August/019544.html>
* .gitignore: Add time.tab.
* Makefile (ZONETABTYPE): New macro.
(TABDATA): Add time.tab.
(all): Depend on $(TABDATA).
(install): Do not depend on $(TABDATA), since $(DATA) includes it.
Install time.tab too.
(time.tab): New rule.
(tzselect.tab): Substitute ZONETABTYPE.
* zone-time.awk: New file.
* tzselect.8: Document new options, and --help and --version while
we're at it.
* tzselect.ksh (ZONETABTYPE): New var.
Implement -t ZONETABTYPE option.
Check that no extra operands are given.
* zone.tab: Change first comment line, to distinguish the two
tables better.
This commit is contained in:
Paul Eggert
2013-08-16 12:19:42 -07:00
parent d58b59dd8a
commit cc3f93886b
6 changed files with 148 additions and 20 deletions

1
.gitignore vendored
View File

@ -5,6 +5,7 @@
*~
ChangeLog
leapseconds
time.tab
tzselect
version.h
yearistype