Branch: Tag:

2014-05-19

2014-05-19 18:02:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Calendar.mkrules: Ignore tzdata files that aren't used.

Calendar.mkrules is only interested in the tzdata files that contain
timezone rules, so ignore known tzdata files that aren't such.

Also adds a corresponding .gitignore file.

730:    files = get_dir(combine_path(__FILE__, "../tzdata"));    files = map(sort(files),    lambda(string fname) { -  if ((< "factory", "leapseconds", >)[fname] || +  if ((< ".gitignore", "Makefile", "README", +  "factory", "leapseconds", >)[fname] ||    has_prefix(fname, "solar") || -  +  has_suffix(fname, ".awk") || +  has_suffix(fname, ".list") ||    has_suffix(fname, ".sh") ||    has_suffix(fname, ".tab")) return 0;    return combine_path(__FILE__, "../tzdata", fname);