pike.git / lib / modules / Calendar.pmod / tzdata / Makefile

version» Context lines:

pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:1:   # This file is in the public domain, so clarified as of   # 2009-05-17 by Arthur David Olson.      # Package name for the code distribution.   PACKAGE= tzcode      # Version numbers of the code and data distributions. - VERSION= 2015d + VERSION= 2015e      # Email address for bug reports.   BUGEMAIL= tz@iana.org      # Change the line below for your time zone (after finding the zone you want in   # the time zone files, or adding it to a time zone file).   # Alternately, if you discover you've got the wrong time zone, you can just   # zic -l rightzone   # to correct things.   # Use the command
pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:285:   # Some parts of this distribution are limited to safe characters;   # others can use any UTF-8 character.   # For now, the safe characters are a safe subset of ASCII.   # The caller must set the shell variable 'sharp' to the character '#',   # since Makefile macros cannot contain '#'.   # TAB_CHAR is a single tab character, in single quotes.   TAB_CHAR= ' '   SAFE_CHARSET1= $(TAB_CHAR)' !\"'$$sharp'$$%&'\''()*+,./0123456789:;<=>?@'   SAFE_CHARSET2= 'ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\^_`'   SAFE_CHARSET3= 'abcdefghijklmnopqrstuvwxyz{|}~' - SAFE_CHARSET= ]$(SAFE_CHARSET1)$(SAFE_CHARSET2)$(SAFE_CHARSET3)- - SAFE_CHAR= '['$(SAFE_CHARSET)']' - # NONSYM_CHAR is a regular expression that matches any character - # except for a small number of symbols, where we prefer to stick with + SAFE_CHARSET= $(SAFE_CHARSET1)$(SAFE_CHARSET2)$(SAFE_CHARSET3) + SAFE_CHAR= '[]'$(SAFE_CHARSET)'-]' +  + # OK_CHAR matches any character allowed in the distributed files. + # This is the same as SAFE_CHAR, except that multibyte letters are + # also allowed so that commentary can contain people's names and quote + # non-English sources. For non-letters the sources are limited to   # ASCII renderings for the convenience of maintainers whose text editors   # mishandle UTF-8 by default (e.g., XEmacs 21.4.22). - NONSYM_CHAR= '[^–—°′″≈≠≤≥±−×÷∞←→↔·•§¶«»‘’‚‛“”„‟‹›「」『』〝〞〟]' + OK_CHAR= '[][:alpha:]'$(SAFE_CHARSET)'-]'      # SAFE_LINE matches a line of safe characters. - # SAFE_SHARP_LINE is similar, except any character can follow '#'; + # SAFE_SHARP_LINE is similar, except any OK character can follow '#';   # this is so that comments can contain non-ASCII characters. - # NONSYM_LINE matches a line of non-symbols. - # VALID_LINE matches a line of any validly-encoded characters. + # OK_LINE matches a line of OK characters.   SAFE_LINE= '^'$(SAFE_CHAR)'*$$' - SAFE_SHARP_LINE='^'$(SAFE_CHAR)'*('$$sharp$(NONSYM_CHAR)'*)?$$' - NONSYM_LINE= '^'$(NONSYM_CHAR)'*$$' - VALID_LINE= '^.*$$' + SAFE_SHARP_LINE='^'$(SAFE_CHAR)'*('$$sharp$(OK_CHAR)'*)?$$' + OK_LINE= '^'$(OK_CHAR)'*$$'      # Flags to give 'tar' when making a distribution.   # Try to use flags appropriate for GNU tar.   GNUTARFLAGS= --numeric-owner --owner=0 --group=0 --mode=go+u,go-w   TARFLAGS= `if tar $(GNUTARFLAGS) --version >/dev/null 2>&1; \    then echo $(GNUTARFLAGS); \    else :; \    fi`      # Flags to give 'gzip' when making a distribution.   GZIPFLAGS= -9n      ###############################################################################    -  + #MAKE= make +    cc= cc   CC= $(cc) -DTZDIR=\"$(TZDIR)\"      AR= ar      # ':' on typical hosts; 'ranlib' on the ancient hosts that still need ranlib.   RANLIB= :      TZCOBJS= zic.o   TZDOBJS= zdump.o localtime.o asctime.o
pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:364:   MISC= $(AWK_SCRIPTS) zoneinfo2tdf.pl   ENCHILADA= $(COMMON) $(DOCS) $(SOURCES) $(DATA) $(MISC)      # And for the benefit of csh users on systems that assume the user   # shell should be used to handle commands in Makefiles. . .      SHELL= /bin/sh      all: tzselect zic zdump libtz.a $(TABDATA)    - ALL: all date + ALL: all date $(ENCHILADA)      install: all $(DATA) $(REDO) $(MANS)    mkdir -p $(DESTDIR)$(ETCDIR) $(DESTDIR)$(TZDIR) \    $(DESTDIR)$(LIBDIR) \    $(DESTDIR)$(MANDIR)/man3 $(DESTDIR)$(MANDIR)/man5 \    $(DESTDIR)$(MANDIR)/man8    $(ZIC) -y $(YEARISTYPE) \    -d $(DESTDIR)$(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES)    cp -f iso3166.tab $(ZONETABLES) $(DESTDIR)$(TZDIR)/.    cp tzselect zic zdump $(DESTDIR)$(ETCDIR)/.
pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:468:    -e 's|\(TZVERSION\)=.*|\1=$(VERSION)|' \    <$? >$@    chmod +x $@      check: check_character_set check_white_space check_links check_sorted \    check_tables check_web      check_character_set: $(ENCHILADA)    LC_ALL=en_US.utf8 && export LC_ALL && \    sharp='#' && \ -  ! grep -Env $(SAFE_LINE) $(MANS) date.1 $(MANTXTS) \ +  ! grep -Env $(SAFE_LINE) Makefile $(MANS) date.1 $(MANTXTS) \    $(MISC) $(SOURCES) $(WEB_PAGES) && \    ! grep -Env $(SAFE_SHARP_LINE) $(TDATA) backzone \ -  iso3166.tab leapseconds yearistype.sh zone.tab && \ -  test $$(grep -Ecv $(SAFE_SHARP_LINE) Makefile) -eq 1 && \ -  ! grep -Env $(NONSYM_LINE) CONTRIBUTING NEWS README Theory \ -  $(MANS) date.1 zone1970.tab && \ -  ! grep -Env $(VALID_LINE) $(ENCHILADA) +  leapseconds yearistype.sh zone.tab && \ +  ! grep -Env $(OK_LINE) $(ENCHILADA)      check_white_space: $(ENCHILADA)    ! grep -En ' '$(TAB_CHAR)"|$$(printf '[\f\r\v]')" $(ENCHILADA)    ! grep -n '[[:space:]]$$' $(ENCHILADA)      CHECK_CC_LIST = { n = split($$1,a,/,/); for (i=2; i<=n; i++) print a[1], a[i]; }      check_sorted: backward backzone iso3166.tab zone.tab zone1970.tab    $(AWK) '/^Link/ {print $$3}' backward | LC_ALL=C sort -cu    $(AWK) '/^Zone/ {print $$2}' backzone | LC_ALL=C sort -cu
pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:566:    touch -cmr `ls -t $(LEAP_DEPS) | sed 1q` leapseconds    for file in `ls $(MANTXTS) | sed 's/\.txt$$//'`; do \    touch -cmr `ls -t $$file workman.sh | sed 1q` $$file.txt || \    exit; \    done    touch $@      # The zics below ensure that each data file can stand on its own.   # We also do an all-files run to catch links to links.    - check_public: $(ENCHILADA) -  make maintainer-clean -  make "CFLAGS=$(GCC_DEBUG_FLAGS)" $(ENCHILADA) all + check_public: +  $(MAKE) maintainer-clean +  $(MAKE) "CFLAGS=$(GCC_DEBUG_FLAGS)" ALL    mkdir tzpublic    for i in $(TDATA) ; do \    $(zic) -v -d tzpublic $$i 2>&1 || exit; \    done    $(zic) -v -d tzpublic $(TDATA)    rm -fr tzpublic      # Check that the code works under various alternative   # implementations of time_t.   check_time_t_alternatives:    if diff -q Makefile Makefile 2>/dev/null; then \    quiet_option='-q'; \    else \    quiet_option=''; \    fi && \    zones=`$(AWK) '/^[^#]/ { print $$3 }' <zone1970.tab` && \    for type in $(TIME_T_ALTERNATIVES); do \    mkdir -p tzpublic/$$type && \ -  make clean_misc && \ -  make TOPDIR=`pwd`/tzpublic/$$type \ +  $(MAKE) clean_misc && \ +  $(MAKE) TOPDIR=`pwd`/tzpublic/$$type \    CFLAGS='$(CFLAGS) -Dtime_tz='"'$$type'" \    REDO='$(REDO)' \    install && \    diff $$quiet_option -r \    tzpublic/int64_t/etc/zoneinfo \    tzpublic/$$type/etc/zoneinfo && \    case $$type in \    int32_t) range=-2147483648,2147483647;; \    uint32_t) range=0,4294967296;; \    int64_t) continue;; \
pike.git/lib/modules/Calendar.pmod/tzdata/Makefile:634:      signatures: tzcode$(VERSION).tar.gz.asc tzdata$(VERSION).tar.gz.asc      tzcode$(VERSION).tar.gz.asc: tzcode$(VERSION).tar.gz    gpg --armor --detach-sign $?      tzdata$(VERSION).tar.gz.asc: tzdata$(VERSION).tar.gz    gpg --armor --detach-sign $?      typecheck: -  make clean +  $(MAKE) clean    for i in "long long" unsigned; \    do \ -  make CFLAGS="-DTYPECHECK -D__time_t_defined -D_TIME_T \"-Dtime_t=$$i\"" ; \ +  $(MAKE) CFLAGS="-DTYPECHECK -D__time_t_defined -D_TIME_T \"-Dtime_t=$$i\"" ; \    ./zdump -v Europe/Rome ; \ -  make clean ; \ +  $(MAKE) clean ; \    done      zonenames: $(TDATA)    @$(AWK) '/^Zone/ { print $$2 } /^Link/ { print $$3 }' $(TDATA)      asctime.o: private.h tzfile.h   date.o: private.h   difftime.o: private.h   localtime.o: private.h tzfile.h   strftime.o: private.h tzfile.h