mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-23 21:02:59 +00:00
Go back to ASCII in *.txt files, too.
For *.txt files, UTF-8 is not that important, and avoiding it is better for users with older or misconfigured manpage readers. * Makefile (check_character_set): Check that *.txt files contain only safe characters. ($(MANTXTS)): Build *.txt files in the C locale, not in en_US.utf8.
This commit is contained in:
4
Makefile
4
Makefile
@ -453,7 +453,7 @@ check: check_character_set check_tables check_web
|
||||
check_character_set: $(ENCHILADA)
|
||||
LC_ALL=en_US.utf8 && export LC_ALL && \
|
||||
sharp='#' && \
|
||||
! grep -Env $(SAFE_LINE) $(MANS) date.1 \
|
||||
! grep -Env $(SAFE_LINE) $(MANS) date.1 $(MANTXTS) \
|
||||
$(MISC) $(SOURCES) $(WEB_PAGES) && \
|
||||
! grep -Env $(SAFE_SHARP_LINE) $(DATA) && \
|
||||
test $$(grep -Ecv $(SAFE_SHARP_LINE) Makefile) -eq 1 && \
|
||||
@ -494,7 +494,7 @@ zdump.8.txt: zdump.8
|
||||
zic.8.txt: zic.8
|
||||
|
||||
$(MANTXTS): workman.sh
|
||||
LC_ALL=en_US.utf8 sh workman.sh `expr $@ : '\(.*\)\.txt$$'` >$@
|
||||
LC_ALL=C sh workman.sh `expr $@ : '\(.*\)\.txt$$'` >$@
|
||||
|
||||
# Set the time stamps to those of the git repository, if available,
|
||||
# and if the files have not changed since then.
|
||||
|
||||
Reference in New Issue
Block a user