about summary refs log tree commit diff
path: root/time/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-06-16 04:52:54 +0000
committerRoland McGrath <roland@gnu.org>1996-06-16 04:52:54 +0000
commita3b5844025aa90fd28f3bf5a27be116852761f4e (patch)
tree390714ca3b0d10f4ef9bce7ffd4d649ad9184f13 /time/Makefile
parent5fbef188648f5150617e0a14f1011e600f1b3a0f (diff)
downloadglibc-a3b5844025aa90fd28f3bf5a27be116852761f4e.tar.gz
glibc-a3b5844025aa90fd28f3bf5a27be116852761f4e.tar.xz
glibc-a3b5844025aa90fd28f3bf5a27be116852761f4e.zip
Sun Jun 16 00:40:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
	* time/Makefile ($(installed-localtime-file)): If target exists, do
	nothing but print a message; if not, make it an absolute symlink.

	* time/tzset.c (__tzset): After stripping leading :, call
	__tzfile_read on TZ even if it's empty or null.
	* time/tzfile.c (__tzfile_read): Use "Universal" if passed "".
Diffstat (limited to 'time/Makefile')
-rw-r--r--time/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/time/Makefile b/time/Makefile
index 3d8240c7ae..f1bf761b40 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -119,7 +119,8 @@ target-zone-flavor = $(filter /posix /right, \
 
 ifdef localtime
 $(installed-localtime-file): $(zonedir)/$(localtime) $(objpfx)zic
-	$(zic-cmd) -l $(localtime)
+	if test -r $@; then echo Site timezone NOT reset to Factory.; else \
+	ln -s -f $< $@; fi
 endif
 ifdef posixrules
 $(installed-posixrules-file): $(zonedir)/$(posixrules) $(objpfx)zic