1 --- Makefile.orig 2014-10-01 15:40:50.900427432 +0000
2 +++ Makefile 2014-10-01 15:42:37.400428739 +0000
10 +ZIC= $(ZIC_HOST) $(ZFLAGS)
15 $(DESTDIR)$(LIBDIR) $(DESTDIR)$(BINDIR) \
16 $(DESTDIR)$(MANDIR)/man3 $(DESTDIR)$(MANDIR)/man5 \
17 $(DESTDIR)$(MANDIR)/man8
18 - $(ZIC) -y $(YEARISTYPE) \
19 + $(ZIC_HOST) -y $(YEARISTYPE) \
20 -d $(DESTDIR)$(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES)
21 cp -f iso3166.tab zone.tab $(DESTDIR)$(TZDIR)/.
22 cp zic zdump $(DESTDIR)$(SBINDIR)/.
24 $(AWK) -f leapseconds.awk leap-seconds.list >$@
26 posix_only: zic $(TDATA)
27 - $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR) \
28 + $(ZIC_HOST) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR) \
31 right_only: zic leapseconds $(TDATA)
32 - $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR) \
33 + $(ZIC_HOST) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR) \
34 -L leapseconds $(TDATA)
36 # In earlier versions of this makefile, the other two directories were
38 # to using them, or vice versa.
39 right_posix: right_only leapseconds
40 rm -fr $(DESTDIR)$(TZDIR)/right
41 - $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/right \
42 + $(ZIC_HOST) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/right \
43 -L leapseconds $(TDATA)
44 - $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/posix \
45 + $(ZIC_HOST) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/posix \
48 posix_right: posix_only leapseconds
49 rm -fr $(DESTDIR)$(TZDIR)-posix
50 - $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/posix \
51 + $(ZIC_HOST) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/posix \
53 - $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/right \
54 + $(ZIC_HOST) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/right \
55 -L leapseconds $(TDATA)