nicedate="$(date +"%d %b %Y")"
+if which locale >/dev/null; then
+ charset="$(locale | grep ^LC_CTYPE=)"
+else
+ charset=unknown
+fi
+
exec > "$output"
cat <<EOTEMPLATE
+. # if this file changes, the build process will rebuild everything
+. # locale's charset $charset
.macro version
${EXIM_VER}
.endmacro