mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Use glibc version information in zic and zdump.
This commit is contained in:
parent
0aa8f8a17f
commit
9ec6f8bd90
@ -1,5 +1,12 @@
|
||||
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.
|
||||
|
@ -54,6 +54,13 @@ include ../Rules
|
||||
|
||||
$(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)"' \
|
||||
|
@ -1,9 +1,7 @@
|
||||
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
|
||||
|
@ -1 +0,0 @@
|
||||
static char const TZVERSION[]="tz2012i";
|
Loading…
Reference in New Issue
Block a user