Makefile.am, configure.in:

  Include "manual.chm" in source TAR if it exists
parent 2bc3dba9
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
EXTRA_DIST = mysql.info INSTALL-BINARY EXTRA_DIST = mysql.info INSTALL-BINARY @extra_docs@
# make sure that "make install" installs the info page, too # make sure that "make install" installs the info page, too
# automake only seems to take care of this automatically, # automake only seems to take care of this automatically,
......
...@@ -2452,10 +2452,15 @@ AC_ARG_WITH(docs, ...@@ -2452,10 +2452,15 @@ AC_ARG_WITH(docs,
if test "$with_docs" = "yes" if test "$with_docs" = "yes"
then then
docs_dirs="Docs" docs_dirs="Docs"
if test -f "$srcdir/Docs/manual.chm" ; then
extra_docs="manual.chm"
fi
else else
docs_dirs="" docs_dirs=""
extra_docs=""
fi fi
AC_SUBST(docs_dirs) AC_SUBST(docs_dirs)
AC_SUBST(extra_docs)
# Shall we build the man pages? # Shall we build the man pages?
AC_ARG_WITH(man, AC_ARG_WITH(man,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment