summaryrefslogtreecommitdiff
path: root/usr.sbin/zic/README
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-06-20 11:52:51 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-06-20 11:52:51 +0000
commit08ebef69b63e1da06f8b60749d25383ba5d28d2f (patch)
treed54a7de1ca524a0bff795aa90f46b0dddd294481 /usr.sbin/zic/README
parentdcd1bc204fd36ed3fc26c4077f8d4d4e97020da0 (diff)
Import the rest of tzcode2004a, the bits needed for the timezone compiler.
Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode2004a.tar.gz
Notes
svn path=/vendor/tzcode/dist/; revision=130777
Diffstat (limited to 'usr.sbin/zic/README')
-rw-r--r--usr.sbin/zic/README20
1 files changed, 17 insertions, 3 deletions
diff --git a/usr.sbin/zic/README b/usr.sbin/zic/README
index 5de3d74136e9..985a5118468f 100644
--- a/usr.sbin/zic/README
+++ b/usr.sbin/zic/README
@@ -1,4 +1,4 @@
-@(#)README 7.10
+@(#)README 7.11
"What time is it?" -- Richard Deacon as The King
"Any time you want it to be." -- Frank Baxter as The Scientist
@@ -33,8 +33,22 @@ Since POSIX frowns on correct leap second handling, the default behavior of
the "zic" command (in the absence of a "-L" option) has been changed to omit
leap second information from its output files.
-Be sure to read the comments in "Makefile" and make any changes
-needed to make things right for your system.
+Here is a recipe for acquiring, building, installing, and testing the
+tz distribution on a GNU/Linux or similar host.
+
+ mkdir tz
+ cd tz
+ wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz'
+ gzip -dc tzcode*.tar.gz | tar -xf -
+ gzip -dc tzdata*.tar.gz | tar -xf -
+
+Be sure to read the comments in "Makefile" and make any changes needed
+to make things right for your system, especially if you are using some
+platform other than GNU/Linux. Then run the following commands,
+substituting your desired installation directory for "$HOME/tzdir":
+
+ make TOPDIR=$HOME/tzdir install
+ $HOME/tzdir/etc/zdump -v America/Los_Angeles
To use the new functions, use a "-ltz" option when compiling or linking.