summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-10-20 17:23:11 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-12-22 13:22:27 -0500
commit6f51c802311fd81a409a26763ed45b28a3234d0d (patch)
treea4c151f83668bae7c44cbb35413e6029190c1ee7 /configure.ac
parent2a2f642aae37e3f41cbbda162a74c2b946a4521f (diff)
downloadsssd-6f51c802311fd81a409a26763ed45b28a3234d0d.tar.gz
sssd-6f51c802311fd81a409a26763ed45b28a3234d0d.tar.xz
sssd-6f51c802311fd81a409a26763ed45b28a3234d0d.zip
Make manual pages translatable
Utilizes PO4A to extract translatable strings from Docbook XML sources and allows translators to submit ordinary .PO files. PO4A then generates translated Docbook documents that can be used to generate translated end user documentation. https://fedorahosted.org/sssd/ticket/297
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1ebf2f718..6192c533f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -142,6 +142,8 @@ if test x$HAVE_MANPAGES != x; then
CHECK_STYLESHEET([$SGML_CATALOG_FILES],
[http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
[Docbook XSL templates])
+ AC_CHECK_PROG([PO4A],[po4a],[po4a],[no])
+ AM_CONDITIONAL([HAVE_PO4A], [test "x$PO4A" != "xno"])
fi
if test x$HAVE_PYTHON_BINDINGS != x; then
@@ -184,6 +186,6 @@ AC_DEFINE_UNQUOTED([ABS_BUILD_DIR], ["$abs_build_dir"], [Absolute path to the bu
AC_SUBST([abs_builddir], $abs_build_dir)
AC_CONFIG_FILES([Makefile contrib/sssd.spec src/examples/rwtab src/doxy.config
- src/sysv/systemd/sssd.service po/Makefile.in])
+ src/sysv/systemd/sssd.service po/Makefile.in src/man/Makefile])
AC_OUTPUT