diff options
| author | Michael Forney <mforney@mforney.org> | 2016-04-10 02:58:52 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-04-15 02:10:08 -0700 |
| commit | dbb513d4572e2eed5e540b7b7fb7e9c8f544cb04 (patch) | |
| tree | 2260140732591d6ca455e493305884c21f063b3f /core/tz | |
| parent | 5f753e71fa37011b9bf7bcec482fe4a4a904dc9e (diff) | |
Add some initial packages
Diffstat (limited to 'core/tz')
| -rw-r--r-- | core/tz/gen.rc | 25 | ||||
| m--------- | core/tz/src | 0 |
2 files changed, 25 insertions, 0 deletions
diff --git a/core/tz/gen.rc b/core/tz/gen.rc new file mode 100644 index 00000000..59cb34d5 --- /dev/null +++ b/core/tz/gen.rc @@ -0,0 +1,25 @@ +tzdata=(\ + africa\ + antarctica\ + asia\ + australasia\ + europe\ + northamerica\ + southamerica\ + pacificnew\ + etcetera\ + backward\ + systemv\ + factory\ +) + +rule zic '$zic -d $outdir/zoneinfo $in' + +for(data in $tzdata) { + zones=`{awk '{if ($1 == "Zone") print $2}' src/$data} + if(! ~ $#zones 0) { + outs='$outdir'/zoneinfo/$zones + build $"outs zic $srcdir/src/$data + for(zone in $zones) file share/zoneinfo/$zone '$outdir'/zoneinfo/$zone 644 + } +} diff --git a/core/tz/src b/core/tz/src new file mode 160000 +Subproject 1284afb4bdc70f97f265ac2f49188217778413e |
