Skip to content

Commit 41778b5

Browse files
author
[email protected]/kent-amd64.(none)
committed
Makefile.am, configure.in:
Include "manual.chm" in source TAR if it exists
1 parent 2bc3dba commit 41778b5

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Docs/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# along with this program; if not, write to the Free Software
1414
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1515

16-
EXTRA_DIST = mysql.info INSTALL-BINARY
16+
EXTRA_DIST = mysql.info INSTALL-BINARY @extra_docs@
1717

1818
# make sure that "make install" installs the info page, too
1919
# automake only seems to take care of this automatically,

configure.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2452,10 +2452,15 @@ AC_ARG_WITH(docs,
24522452
if test "$with_docs" = "yes"
24532453
then
24542454
docs_dirs="Docs"
2455+
if test -f "$srcdir/Docs/manual.chm" ; then
2456+
extra_docs="manual.chm"
2457+
fi
24552458
else
24562459
docs_dirs=""
2460+
extra_docs=""
24572461
fi
24582462
AC_SUBST(docs_dirs)
2463+
AC_SUBST(extra_docs)
24592464

24602465
# Shall we build the man pages?
24612466
AC_ARG_WITH(man,

0 commit comments

Comments
 (0)