[Groonga-commit] groonga/groonga [master] make distriubted document installable.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 8月 24日 (火) 11:35:20 JST


Kouhei Sutou	2010-08-24 02:35:20 +0000 (Tue, 24 Aug 2010)

  New Revision: ac82386eb9f49800dc599698a86d8a5fd6df5371

  Log:
    make distriubted document installable.

  Modified files:
    configure.ac
    doc/ja/Makefile.am

  Modified: configure.ac (+3 -1)
===================================================================
--- configure.ac    2010-08-24 02:31:48 +0000 (44c5ec1)
+++ configure.ac    2010-08-24 02:35:20 +0000 (09e8310)
@@ -622,7 +622,9 @@ if test "$ac_sphinx_available" = "yes"; then
   fi
 fi
 AC_SUBST(SPHINX_BUILD)
-AM_CONDITIONAL([WITH_SPHINX], [test "$ac_sphinx_available" = "yes"])
+AM_CONDITIONAL([ENABLE_DOCUMENT],
+               [test "$ac_sphinx_available" = "yes" -o \
+                     -f "$srcdir/doc/ja/man-build-stamp"])
 AC_MSG_CHECKING([for sphinx availablity])
 AC_MSG_RESULT($ac_sphinx_available (sphinx-build=$SPHINX_BUILD version=$sphinx_build_version required=$sphinx_required_version))
 

  Modified: doc/ja/Makefile.am (+1 -1)
===================================================================
--- doc/ja/Makefile.am    2010-08-24 02:31:48 +0000 (e6e7a82)
+++ doc/ja/Makefile.am    2010-08-24 02:35:20 +0000 (398014f)
@@ -120,7 +120,7 @@ pdf:
 	@echo
 	@echo "Build finished. The PDF files are in $(BUILDDIR)/pdf."
 
-if WITH_SPHINX
+if ENABLE_DOCUMENT
 dist-hook:
 	@touch $(distdir)/man-build-stamp
 	@touch $(distdir)/html-build-stamp




Groonga-commit メーリングリストの案内
Back to archive index