1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-05-06 15:15:00 +00:00

* Makefile (check_sorted): Further improve quality of checks.

* NEWS: Document this.
* zone1970.tab: Sort country codes better.
This commit is contained in:
Paul Eggert
2014-09-06 19:24:32 -07:00
parent 20532ffda0
commit 86677a3e82
3 changed files with 14 additions and 5 deletions

View File

@@ -487,12 +487,17 @@ check_white_space: $(ENCHILADA)
! grep -n '[[:space:]]$$' $(ENCHILADA)
! grep -n "$$(printf '[\f\r\v]\n')" $(ENCHILADA)
check_sorted: backward backzone iso3166.tab zone1970.tab
$(AWK) '/^Link/ {print $$3}' backward | LC_ALL=C sort -c
$(AWK) '/^Zone/ {print $$2}' backzone | LC_ALL=C sort -c
$(AWK) '/^[^#]/ {print}' iso3166.tab | LC_ALL=C sort -c
CHECK_CC_LIST = { n = split($$1,a,/,/); for (i=2; i<=n; i++) print a[1], a[i]; }
check_sorted: backward backzone iso3166.tab zone.tab zone1970.tab
$(AWK) '/^Link/ {print $$3}' backward | LC_ALL=C sort -cu
$(AWK) '/^Zone/ {print $$2}' backzone | LC_ALL=C sort -cu
$(AWK) '/^[^#]/ {print $$1}' iso3166.tab | LC_ALL=C sort -cu
$(AWK) '/^[^#]/ {print $$1}' zone.tab | LC_ALL=C sort -c
$(AWK) '/^[^#]/ {print substr($$0, 1, 2)}' zone1970.tab | \
LC_ALL=C sort -c
$(AWK) '/^[^#]/ $(CHECK_CC_LIST)' zone1970.tab | \
LC_ALL=C sort -cu
check_tables: checktab.awk $(PRIMARY_YDATA) $(ZONETABLES)
for tab in $(ZONETABLES); do \

4
NEWS
View File

@@ -23,6 +23,10 @@ Unreleased, experimental changes
An access to uninitalized data has been fixed.
(Thanks to Jörg Richter for reporting the problem.)
Changes affecting build procedure
'make check' now checks better for properly-sorted data.
Changes affecting documentation and commentary
zdump -c's treatment of years is now documented to use the

View File

@@ -323,7 +323,7 @@ TM +3757+05823 Asia/Ashgabat
TN +3648+01011 Africa/Tunis
TO -2110-17510 Pacific/Tongatapu
TR +4101+02858 Europe/Istanbul
TT,AG,AI,BL,DM,GD,GP,MF,LC,KN,MS,VC,VG,VI +1039-06131 America/Port_of_Spain
TT,AG,AI,BL,DM,GD,GP,KN,LC,MF,MS,VC,VG,VI +1039-06131 America/Port_of_Spain
TV -0831+17913 Pacific/Funafuti
TW +2503+12130 Asia/Taipei
UA +5026+03031 Europe/Kiev most locations