[tz] Pyongyang Time transition plan announced
Paul Eggert
eggert at cs.ucla.edu
Thu May 3 01:38:40 UTC 2018
On 05/02/2018 05:20 PM, Deborah Goldsmith wrote:
> I picked up the 2018e tag from the GitHub repository, but AFAICT it’s not possible to build the rearguard tarballs on a system that doesn’t have lzip.
It is possible. The following shell script worked for me:
make version
VERSION=`cat version`
make VERSION=$VERSION tzdata$VERSION-rearguard.tar.gz
This is an awkward hack, though, so thanks for reporting the issue.
There should be a better way.
> The traditional_tarballs target doesn’t build the rearguard tarball. It probably should.
I'd prefer that target to build just the two traditional tarballs that
we've been building for ages, and to have a new target for the new
stuff. How about the attached proposed patch? With it, one can build the
tarball in question with 'make rearguard_tarballs', which is more
convenient than the above hack.
-------------- next part --------------
From bfc12fa663f6ae9bb58bd4859f85dab892bc5ea4 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert at cs.ucla.edu>
Date: Wed, 2 May 2018 18:33:24 -0700
Subject: [PROPOSED] =?UTF-8?q?New=20=E2=80=98make=E2=80=99=20rule=20reargu?=
=?UTF-8?q?ard=5Ftarballs?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Problem reported by Deborah Goldsmith in:
https://mm.icann.org/pipermail/tz/2018-May/026443.html
* Makefile (REARGUARD_ASC): New macro.
(ALL_ASC): Use it.
(rearguard_tarballs, rearguard_tarballs_version)
(rearguard_signatures, rearguard_signatures_version): New rules.
(tarballs_version): Use new rearguard_tarballs rule.
* NEWS: Mention this.
---
Makefile | 20 +++++++++++++-------
NEWS | 10 ++++++++++
2 files changed, 23 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 21fa488..91c30f7 100644
--- a/Makefile
+++ b/Makefile
@@ -906,23 +906,27 @@ check_time_t_alternatives:
TRADITIONAL_ASC = \
tzcode$(VERSION).tar.gz.asc \
tzdata$(VERSION).tar.gz.asc
-ALL_ASC = $(TRADITIONAL_ASC) \
- tzdata$(VERSION)-rearguard.tar.gz.asc \
+REARGUARD_ASC = \
+ tzdata$(VERSION)-rearguard.tar.gz.asc
+ALL_ASC = $(TRADITIONAL_ASC) $(REARGUARD_ASC) \
tzdb-$(VERSION).tar.lz.asc
-tarballs traditional_tarballs signatures traditional_signatures: version
+tarballs rearguard_tarballs traditional_tarballs \
+signatures rearguard_signatures traditional_signatures: version
VERSION=`cat version` && \
$(MAKE) VERSION="$$VERSION" $@_version
# These *_version rules are intended for use if VERSION is set by some
# other means. Ordinarily these rules are used only by the above
# non-_version rules, which set VERSION on the 'make' command line.
-tarballs_version: traditional_tarballs_version \
- tzdata$(VERSION)-rearguard.tar.gz \
+tarballs_version: traditional_tarballs_version rearguard_tarballs_version \
tzdb-$(VERSION).tar.lz
+rearguard_tarballs_version: \
+ tzdata$(VERSION)-rearguard.tar.gz
traditional_tarballs_version: \
tzcode$(VERSION).tar.gz tzdata$(VERSION).tar.gz
signatures_version: $(ALL_ASC)
+rearguard_signatures_version: $(REARGUARD_ASC)
traditional_signatures_version: $(TRADITIONAL_ASC)
tzcode$(VERSION).tar.gz: set-timestamps.out
@@ -1003,8 +1007,10 @@ zic.o: private.h tzfile.h version.h
.PHONY: check_zishrink
.PHONY: clean clean_misc dummy.zd force_tzs
.PHONY: install install_data maintainer-clean names
-.PHONY: posix_only posix_packrat posix_right
-.PHONY: public right_only right_posix signatures signatures_version
+.PHONY: posix_only posix_packrat posix_right public
+.PHONY: rearguard_signatures rearguard_signatures_version
+.PHONY: rearguard_tarballs rearguard_tarballs_version
+.PHONY: right_only right_posix signatures signatures_version
.PHONY: tarballs tarballs_version
.PHONY: traditional_signatures traditional_signatures_version
.PHONY: traditional_tarballs traditional_tarballs_version
diff --git a/NEWS b/NEWS
index 9c445cd..e985ce6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,15 @@
News for the tz database
+Unreleased, experimental changes
+
+ Changes to build procedure
+
+ New 'make' target 'rearguard_tarballs' to build the rearguard
+ tarball only. This is a convenience on platforms that lack lzip
+ if you want to build the rearguard tarball. (Problem reported by
+ Deborah Goldsmith.)
+
+
Release 2018e - 2018-05-01 23:42:51 -0700
Briefly:
--
2.17.0
More information about the tz
mailing list