diff -Nru tzcode.orig/Makefile tzcode/Makefile
---- tzcode.orig/Makefile 2013-12-21 14:05:52.169527862 +0100
-+++ tzcode/Makefile 2013-12-21 14:06:05.299054045 +0100
-@@ -45,21 +45,21 @@
+--- tzcode.orig/Makefile 2015-08-12 11:00:16.696813835 +0200
++++ tzcode/Makefile 2015-08-12 11:00:45.296792265 +0200
+@@ -44,21 +44,21 @@
# Everything gets put in subdirectories of. . .
# If you "make INSTALL", the "date" command gets installed in. . .
-@@ -290,8 +290,10 @@
+@@ -320,8 +320,10 @@
- ###############################################################################
+ #MAKE= make
-cc= cc
-CC= $(cc) -DTZDIR=\"$(TZDIR)\"
AR= ar
-@@ -341,19 +343,18 @@
- ALL: all date
+@@ -371,19 +373,18 @@
+ ALL: all date $(ENCHILADA)
install: all $(DATA) $(REDO) $(MANS)
- mkdir -p $(DESTDIR)$(ETCDIR) $(DESTDIR)$(TZDIR) \
$(DESTDIR)$(MANDIR)/man8
$(ZIC) -y $(YEARISTYPE) \
-d $(DESTDIR)$(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES)
- cp -f iso3166.tab zone.tab $(DESTDIR)$(TZDIR)/.
+ cp -f iso3166.tab $(ZONETABLES) $(DESTDIR)$(TZDIR)/.
- cp tzselect zic zdump $(DESTDIR)$(ETCDIR)/.
+ cp zic zdump $(DESTDIR)$(SBINDIR)/.
+ cp tzselect $(DESTDIR)$(BINDIR)/.
INSTALL: ALL install date.1
mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
-@@ -396,19 +397,17 @@
+@@ -426,19 +427,17 @@
# You must replace all of $(TZDIR) to switch from not using leap seconds
# to using them, or vice versa.
right_posix: right_only leapseconds
+ $(ZIC) -y $(YEARISTYPE) -d $(DESTDIR)$(TZDIR)/right \
-L leapseconds $(TDATA)
- zones: $(REDO)
-@@ -431,7 +430,7 @@
- <$? >$@
+ posix_packrat: posix_only backzone
+@@ -467,7 +466,7 @@
chmod +x $@
--check: check_character_set check_tables check_web
-+check: check_character_set check_tables
+ check: check_character_set check_white_space check_links check_sorted \
+- check_tables check_web
++ check_tables
check_character_set: $(ENCHILADA)
- sharp='#'; ! grep -n $(INVALID_CHAR) $(ENCHILADA)
+ LC_ALL=en_US.utf8 && export LC_ALL && \