2012-11-09 Joseph Myers <joseph@codesourcery.com>
+ * timezone/version.h: Remove file.
+ * timezone/README: Do not refer to version.h.
+ * timezone/Makefile ($(objpfx)zic.o): New dependency on
+ $(objpfx)version.h.
+ ($(objpfx)zdump.o): Likewise.
+ ($(objpfx)/version.h): New target.
+
* timezone/tzselect.ksh: Change to verbatim copy from tzcode
2012i.
* timezone/README: Don't mention modification to tzselect.ksh.
$(objpfx)zic: $(objpfx)scheck.o $(objpfx)ialloc.o
+$(objpfx)zic.o $(objpfx)zdump.o: $(objpfx)version.h
+
+$(objpfx)version.h: $(common-objpfx)config.make
+ echo 'static char const TZVERSION[]="$(PKGVERSION)$(version)";' \
+ > $@.new
+ mv -f $@.new $@
+
tz-cflags = -DTZDIR='"$(zonedir)"' \
-DTZDEFAULT='"$(localtime-file)"' \
-DTZDEFRULES='"$(posixrules-file)"' \
The files
zic.c zdump.c ialloc.c scheck.c tzfile.h
private.h tzselect.ksh checktab.awk
-come from the tzcode package by Arthur David Olson et.al.; the file
- version.h
-has the contents that would be generated by that package's Makefile.
+come from the tzcode package by Arthur David Olson et.al.
The files
africa antarctica asia australasia europe
+++ /dev/null
-static char const TZVERSION[]="tz2012i";