pike.git / lib / modules / Calendar.pmod / mkrules.pike

version» Context lines:

pike.git/lib/modules/Calendar.pmod/mkrules.pike:727:   int main(int ac,array(string) am)   {    array(string) files = am[1..];    if (!sizeof(files))    {    werror("Defaulting to reading zonefiles from %s...\n",    combine_path(__DIR__, "tzdata"));    files = get_dir(combine_path(__DIR__, "tzdata"));    files = map(sort(files),    lambda(string fname) { -  if ((< ".gitignore", "Makefile", "Theory", +  if ((< ".gitignore", "Makefile", "Theory", "calendars",    "leapseconds", "version", >)[fname] ||    (upper_case(fname) == fname) ||    has_prefix(fname, "solar") ||    has_suffix(fname, ".awk") || -  +  has_suffix(fname, ".html") ||    has_suffix(fname, ".list") ||    has_suffix(fname, ".pl") ||    has_suffix(fname, ".sh") ||    has_suffix(fname, ".tab")) return 0;    return combine_path(__DIR__, "tzdata", fname);    }) - ({ 0 });    }    map(files, collect_rules);       write("Thinking...\n");