trying to fix ru problems

This commit is contained in:
nlopess
2004-04-03 13:48:48 +00:00
parent 94388bd03f
commit 67488fcbd4
4 changed files with 12 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ test:
# {{{ cleanup # {{{ cleanup
clean: clean:
rm -f Makefile config.* manual.xml configure entities/version.ent *.fot rm -f Makefile config.* manual.xml configure entities/version.ent *.fot dsssl/html-common.dsl
rm -fr autom4te.cache html phpweb rm -fr autom4te.cache html phpweb
# }}} # }}}

View File

@@ -222,8 +222,6 @@ dnl {{{ language specific stuff
AC_MSG_CHECKING(for language) AC_MSG_CHECKING(for language)
BUILD_DATE=`date '+%Y-%m-%d'`
AC_ARG_WITH(lang, AC_ARG_WITH(lang,
[ --with-lang=LANG choose a language to work with],[ [ --with-lang=LANG choose a language to work with],[
if test "$withval" = "yes"; then if test "$withval" = "yes"; then
@@ -245,7 +243,13 @@ AC_ARG_WITH(lang,
AC_MSG_RESULT([en (default)]) AC_MSG_RESULT([en (default)])
]) ])
AC_SUBST(LANG) AC_SUBST(LANG)
AC_SUBST(BUILD_DATE)
case "$LANG" in
ru) ENCODING="windows-1251";;
*) ENCODING="ISO-8859-1";;
esac
AC_SUBST(ENCODING)
dnl }}} dnl }}}

View File

@@ -249,3 +249,6 @@
(para-check 'restart))))) (para-check 'restart)))))
(define (linebreak) (make element gi: "BR" (empty-sosofo))) (define (linebreak) (make element gi: "BR" (empty-sosofo)))
(define %html-header-tags%
'(("META" ("HTTP-EQUIV" "Content-type") ("CONTENT" "text/html; charset=@ENCODING@"))))

View File

@@ -1,3 +1,4 @@
<?xml version='1.0' encoding='@ENCODING@' ?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"./dtds/dbxml-4.1.2/docbookx.dtd" [ "./dtds/dbxml-4.1.2/docbookx.dtd" [
<!ENTITY % build.version SYSTEM "entities/version.ent"> <!ENTITY % build.version SYSTEM "entities/version.ent">