~ubuntu-branches/debian/jessie/tzdata/jessie

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Aurelien Jarno
  • Date: 2014-09-28 20:29:16 UTC
  • mfrom: (1.7.38)
  • Revision ID: package-import@ubuntu.com-20140928202916-4fu3od314guynvrd
Tags: 2014h-1
New upstream release. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
PACKAGE=        tzcode
6
6
 
7
7
# Version numbers of the code and data distributions.
8
 
VERSION=        2014g
 
8
VERSION=        2014h
9
9
 
10
10
# Email address for bug reports.
11
11
BUGEMAIL=       tz@iana.org
467
467
                        <$? >$@
468
468
                chmod +x $@
469
469
 
470
 
check:          check_character_set check_white_space check_tables check_web
 
470
check:          check_character_set check_white_space check_sorted \
 
471
                  check_tables check_web
471
472
 
472
473
check_character_set: $(ENCHILADA)
473
474
                LC_ALL=en_US.utf8 && export LC_ALL && \
486
487
                ! grep -n '[[:space:]]$$' $(ENCHILADA)
487
488
                ! grep -n "$$(printf '[\f\r\v]\n')" $(ENCHILADA)
488
489
 
 
490
CHECK_CC_LIST = { n = split($$1,a,/,/); for (i=2; i<=n; i++) print a[1], a[i]; }
 
491
 
 
492
check_sorted: backward backzone iso3166.tab zone.tab zone1970.tab
 
493
                $(AWK) '/^Link/ {print $$3}' backward | LC_ALL=C sort -cu
 
494
                $(AWK) '/^Zone/ {print $$2}' backzone | LC_ALL=C sort -cu
 
495
                $(AWK) '/^[^#]/ {print $$1}' iso3166.tab | LC_ALL=C sort -cu
 
496
                $(AWK) '/^[^#]/ {print $$1}' zone.tab | LC_ALL=C sort -c
 
497
                $(AWK) '/^[^#]/ {print substr($$0, 1, 2)}' zone1970.tab | \
 
498
                  LC_ALL=C sort -c
 
499
                $(AWK) '/^[^#]/ $(CHECK_CC_LIST)' zone1970.tab | \
 
500
                  LC_ALL=C sort -cu
 
501
 
489
502
check_tables:   checktab.awk $(PRIMARY_YDATA) $(ZONETABLES)
490
503
                for tab in $(ZONETABLES); do \
491
504
                  $(AWK) -f checktab.awk -v zone_table=$$tab $(PRIMARY_YDATA) \
648
661
.KEEP_STATE:
649
662
 
650
663
.PHONY: ALL INSTALL all
651
 
.PHONY: check check_character_set check_public check_tables
 
664
.PHONY: check check_character_set check_public check_sorted check_tables
652
665
.PHONY: check_time_t_alternatives check_web check_white_space clean clean_misc
653
666
.PHONY: install maintainer-clean names posix_packrat posix_only posix_right
654
667
.PHONY: public right_only right_posix signatures tarballs typecheck