Ship man pages in the GIT and tarball, not just xml files.
[lxde/lxpanel.git] / configure.ac
index 8c49f8f..58a85cf 100644 (file)
@@ -105,13 +105,6 @@ AC_SUBST(ADDITIONAL_FLAGS)
 PACKAGE_CFLAGS="$PACKAGE_CFLAGS $MENU_CACHE_CFLAGS $ADDITIONAL_FLAGS"
 PACKAGE_LIBS="$PACKAGE_LIBS $MENU_CACHE_LIBS"
 
-AC_ARG_ENABLE(man,
-       [AC_HELP_STRING([--enable-man],
-               [regenerate roff man pages from Docbook @<:@default=no@:>@])],
-       [enable_man="${enableval}"],
-       [enable_man=no]
-)
-
 dnl linker tweaking
 # The function of the link flag --as-needed is to prevent unnecesary linking.
 # Example: A -> B -> C
@@ -365,21 +358,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
 
 AM_GLIB_GNU_GETTEXT
 
-if test x"$enable_man" = x"yes"; then
-       AC_PATH_PROG([XSLTPROC], [xsltproc])
-       if test -z "$XSLTPROC"; then
-               enable_man=no
-       fi
-
-       dnl check for DocBook DTD and stylesheets in the local catalog.
-       JH_CHECK_XML_CATALOG([-//OASIS//DTD DocBook XML V4.1.2//EN],
-               [DocBook XML DTD V4.1.2], [], enable_man=no)
-       JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
-               [DocBook XSL Stylesheets >= 1.70.1], [], enable_man=no)
-fi
-
-AM_CONDITIONAL(ENABLE_REGENERATE_MAN, test "x$enable_man" != "xno")
-
 AC_ARG_ENABLE(debug,
     [AC_HELP_STRING([--enable-debug],
         [enable debug support @<:@default=no@:>@])],