From 2a18b7474f49ddcafce6fa0309c96b65bd9964bb Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 29 Oct 2022 21:39:19 -0700 Subject: [PROPOSED] Make it easier to skip backcheck MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inspired by a suggestion from Stephen Colebourne in: https://mm.icann.org/pipermail/tz/2022-October/032170.html * Makefile (check_back, check_mild): New rules, split out from existing ones, so that one can use ‘make check_mild’ instead of ‘make check’ to skip the backcheck. * NEWS: Mention this. --- Makefile | 10 +++++++--- NEWS | 6 ++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4465e1df..e64acba6 100644 --- a/Makefile +++ b/Makefile @@ -775,7 +775,8 @@ tzselect: tzselect.ksh version chmod +x $@.out mv $@.out $@ -check: check_character_set check_white_space check_links \ +check: check_back check_mild +check_mild: check_character_set check_white_space check_links \ check_name_lengths check_slashed_abbrs check_sorted \ check_tables check_web check_ziguard check_zishrink check_tzs @@ -831,11 +832,14 @@ check_sorted: backward backzone iso3166.tab zone.tab zone1970.tab $(AWK) '/^Zone/ {print $$2}' backzone | LC_ALL=C sort -cu touch $@ -check_links: checklinks.awk $(TDATA_TO_CHECK) tzdata.zi +check_back: checklinks.awk $(TDATA_TO_CHECK) $(AWK) \ -v DATAFORM=$(DATAFORM) \ -v backcheck=backward \ -f checklinks.awk $(TDATA_TO_CHECK) + touch $@ + +check_links: checklinks.awk tzdata.zi $(AWK) \ -v DATAFORM=$(DATAFORM) \ -f checklinks.awk tzdata.zi @@ -1222,7 +1226,7 @@ zdump.o: version.h zic.o: private.h tzfile.h version.h .PHONY: ALL INSTALL all -.PHONY: check check_time_t_alternatives +.PHONY: check check_mild check_time_t_alternatives .PHONY: check_web check_zishrink .PHONY: clean clean_misc dummy.zd force_tzs .PHONY: install install_data maintainer-clean names diff --git a/NEWS b/NEWS index 7674a3e8..d713a5ac 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,12 @@ Unreleased, experimental changes which has sys/random.h but lacks getrandom. (Problem reported by Gilmore Davidson.) + Changes to build procedure + + New Makefile rule check_mild that skips checking whether Link + lines are in the file 'backward'. (Inspired by a suggestion from + Stephen Colebourne.) + Release 2022f - 2022-10-28 18:04:57 -0700 -- 2.37.2