1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-05-07 06:07:17 +00:00

make check_white_space fix for leap-seconds.list

* Makefile (check_white_space): Allow trailing white space in
leap-seconds.list.  This file is maintained by NIST, and the
current version has trailing white space, and has a checksum
making it inadvisable for us to remove the trailing white space in
our copy.  Also, coalesce two 'grep' calls into one, and check for
weird white space characters anywhere, not just before line end.
This commit is contained in:
Paul Eggert
2015-01-28 16:58:04 -08:00
parent bba6b9ac71
commit 525886015d

View File

@@ -484,9 +484,9 @@ check_character_set: $(ENCHILADA)
! grep -Env $(VALID_LINE) $(ENCHILADA)
check_white_space: $(ENCHILADA)
! grep -n ' '$(TAB_CHAR) $(ENCHILADA)
! grep -n '[[:space:]]$$' $(ENCHILADA)
! grep -n "$$(printf '[\f\r\v]\n')" $(ENCHILADA)
! grep -En ' '$(TAB_CHAR)"|$$(printf '[\f\r\v]')" $(ENCHILADA)
! grep -n '[[:space:]]$$' \
$$(ls $(ENCHILADA) | grep -Fvx leap-seconds.list)
CHECK_CC_LIST = { n = split($$1,a,/,/); for (i=2; i<=n; i++) print a[1], a[i]; }