git://git.exim.org
/
users
/
heiko
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Log additional command-history on too-many-syntax-errors
[users/heiko/exim.git]
/
doc
/
doc-docbook
/
GenLocalParams
diff --git
a/doc/doc-docbook/GenLocalParams
b/doc/doc-docbook/GenLocalParams
index 140890880cce318cbf1c06741ded8dbb85ff781f..fc8e7fc58bd9b623e0796e0b1ad31d75c2a987cf 100755
(executable)
--- a/
doc/doc-docbook/GenLocalParams
+++ b/
doc/doc-docbook/GenLocalParams
@@
-5,8
+5,16
@@
output="${1:-local_params}"
nicedate="$(date +"%d %b %Y")"
nicedate="$(date +"%d %b %Y")"
+if which locale >/dev/null; then
+ charset="$(locale | grep ^LC_CTYPE=)"
+else
+ charset=unknown
+fi
+
exec > "$output"
cat <<EOTEMPLATE
exec > "$output"
cat <<EOTEMPLATE
+. # if this file changes, the build process will rebuild everything
+. # locale's charset $charset
.macro version
${EXIM_VER}
.endmacro
.macro version
${EXIM_VER}
.endmacro