summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <kent@mysql.com/kent-amd64.(none)>2007-11-22 17:48:40 +0100
committerunknown <kent@mysql.com/kent-amd64.(none)>2007-11-22 17:48:40 +0100
commitc6f0c29acbd77a6b12f58775a68701913b3ce094 (patch)
tree4216c7e9b6af61dec349e2529c16790908ec1e02
parente8673939b1744bdf9398fb38d62f462066a70fd2 (diff)
downloadmariadb-git-c6f0c29acbd77a6b12f58775a68701913b3ce094.tar.gz
Makefile.am, configure.in:
Include "manual.chm" in source TAR if it exists configure.in: Include "manual.chm" in source TAR if it exists Docs/Makefile.am: Include "manual.chm" in source TAR if it exists
-rw-r--r--Docs/Makefile.am2
-rw-r--r--configure.in5
2 files changed, 6 insertions, 1 deletions
diff --git a/Docs/Makefile.am b/Docs/Makefile.am
index dac256f8fd6..629618609a3 100644
--- a/Docs/Makefile.am
+++ b/Docs/Makefile.am
@@ -13,7 +13,7 @@
# along with this program; if not, write to the Free Software
# 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
# automake only seems to take care of this automatically,
diff --git a/configure.in b/configure.in
index e042bb80719..ead2f85afb7 100644
--- a/configure.in
+++ b/configure.in
@@ -2452,10 +2452,15 @@ AC_ARG_WITH(docs,
if test "$with_docs" = "yes"
then
docs_dirs="Docs"
+ if test -f "$srcdir/Docs/manual.chm" ; then
+ extra_docs="manual.chm"
+ fi
else
docs_dirs=""
+ extra_docs=""
fi
AC_SUBST(docs_dirs)
+AC_SUBST(extra_docs)
# Shall we build the man pages?
AC_ARG_WITH(man,