diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2009-05-10 23:02:21 +0200 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-05-14 11:41:10 -0400 |
commit | ca2fa90f8e7a9399c7c44781f1a032fe10f98cdc (patch) | |
tree | ae2ba67c79ac782d9c9e1250f7657dc88fdd43f3 /server/conf_macros.m4 | |
parent | 50c10e1f61a1bef93a7f768ad6edb28989f1761b (diff) | |
download | sssd-ca2fa90f8e7a9399c7c44781f1a032fe10f98cdc.tar.gz sssd-ca2fa90f8e7a9399c7c44781f1a032fe10f98cdc.tar.xz sssd-ca2fa90f8e7a9399c7c44781f1a032fe10f98cdc.zip |
Manpage generation
Provides a set of make rules for generating UNIX manual pages from
DocBook 4.5 source as well as sample manpage for sss_useradd.
Automatic generation of manual pages during "make" process is
tunable with config parameter "--with-manpages". To rebuild the man
pages separately, use the "make doc" target. Before building, the
manpages are validated using a DTD schema.
Diffstat (limited to 'server/conf_macros.m4')
-rw-r--r-- | server/conf_macros.m4 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/server/conf_macros.m4 b/server/conf_macros.m4 index 27006e6dd..d93450793 100644 --- a/server/conf_macros.m4 +++ b/server/conf_macros.m4 @@ -143,3 +143,33 @@ AC_DEFUN(WITH_SHADOW_UTILS_PATH, fi AC_SUBST(shadow_utils_path) ]) + +AC_DEFUN(WITH_MANPAGES, + [ AC_ARG_WITH([manpages], + [AC_HELP_STRING([--with-manpages], + [Whether to regenerate man pages from DocBook sources [yes]] + ) + ], + [], + with_manpages=yes + ) + if test x"$with_manpages" == xyes; then + HAVE_MANPAGES=1 + AC_SUBST(HAVE_MANPAGES) + fi + ]) + +AC_DEFUN([WITH_XML_CATALOG], + [ AC_ARG_WITH([xml-catalog-path], + [AC_HELP_STRING([--with-xml-catalog-path=PATH], + [Where to look for XML catalog [/etc/xml/catalog]] + ) + ] + ) + SGML_CATALOG_FILES="/etc/xml/catalog" + if test x"$with_xml_catalog_path" != x; then + SGML_CATALOG_FILES="$with_xml_catalog_path" + fi + AC_SUBST([SGML_CATALOG_FILES]) + ]) + |