[Groonga-mysql-commit] mroonga/mroonga [master] install document.

Back to archive index

null+****@clear***** null+****@clear*****
2010年 10月 29日 (金) 18:33:12 JST


Kouhei Sutou	2010-10-29 09:33:12 +0000 (Fri, 29 Oct 2010)

  New Revision: 88ea53739e4a1b545c51271b17451e7599e5efda

  Log:
    install document.
    
    Suggested by Kazuhiko. Thanks!!!

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

  Modified: .gitignore (+2 -0)
===================================================================
--- .gitignore    2010-10-29 01:13:37 +0000 (0f1cfcc)
+++ .gitignore    2010-10-29 09:33:12 +0000 (32e8b4c)
@@ -33,3 +33,5 @@ cscope.out
 /yum/fedora/
 /yum/centos/
 /doc/ja/build/
+/doc/ja/doctrees/
+/doc/ja/html/

  Modified: Makefile.am (+3 -1)
===================================================================
--- Makefile.am    2010-10-29 01:13:37 +0000 (dcf7ba9)
+++ Makefile.am    2010-10-29 09:33:12 +0000 (b3187cc)
@@ -1,3 +1,5 @@
+AUTOMAKE_OPTIONS = 1.9.7
+
 AM_CPPFLAGS = $(MYSQL_INC) $(GROONGA_CFLAGS) $(MECAB_INCLUDES)
 AM_INCLUDES = -l. -l..
 ACLOCAL_AMFLAGS = $$ACLOCAL_ARGS
@@ -16,7 +18,7 @@ libgroonga_storage_engine_a_CXXFLAGS  = $(AM_CFLAGS)
 libgroonga_storage_engine_a_CFLAGS    = $(AM_CFLAGS)
 libgroonga_storage_engine_a_SOURCES   = ha_mroonga.cc mrnsys.c
 
-SUBDIRS = test apt rpm yum
+SUBDIRS = test apt rpm yum doc
 
 EXTRA_DIST = plug.in
 

  Modified: configure.ac (+55 -0)
===================================================================
--- configure.ac    2010-10-29 01:13:37 +0000 (75eda72)
+++ configure.ac    2010-10-29 09:33:12 +0000 (e2b3569)
@@ -179,6 +179,59 @@ AC_ARG_WITH(rsync-path,
             [RSYNC_PATH=""])
 AC_SUBST(RSYNC_PATH)
 
+# check sphinx-build for documentation
+ac_sphinx_available="no"
+sphinx_required_version="1.0.1"
+sphinx_required_version_major=$(echo $sphinx_required_version | cut -d. -f1)
+sphinx_required_version_minor=$(echo $sphinx_required_version | cut -d. -f2)
+sphinx_required_version_micro=$(echo $sphinx_required_version | cut -d. -f3)
+AC_ARG_WITH([sphinx_build],
+            AS_HELP_STRING([--with-sphinx-build=PATH],
+                           [sphinx-build path (default: auto-detect)]),
+            [SPHINX_BUILD="$withval"])
+
+if test "$SPHINX_BUILD" = "no"; then
+  : # ignore
+elif test "$SPHINX_BUILD" = ""; then
+  AC_PATH_PROG(SPHINX_BUILD, sphinx-build, none)
+  if test "$SPHINX_BUILD" != "none"; then
+    ac_sphinx_available="yes"
+  fi
+else
+  AC_CHECK_FILE([$SPHINX_BUILD],
+                [ac_sphinx_available="yes"],
+                [AC_MSG_WARN([$SPHINX_BUILD is not found. Disable document gerataion.])])
+fi
+if test "$ac_sphinx_available" = "yes"; then
+  sphinx_build_version=$($SPHINX_BUILD 2>&1 | head -1 | $SED -e 's/^Sphinx v//')
+  sphinx_build_version_major=$(echo $sphinx_build_version | cut -d. -f1)
+  sphinx_build_version_minor=$(echo $sphinx_build_version | cut -d. -f2)
+  sphinx_build_version_micro=$(echo $sphinx_build_version | cut -d. -f3)
+  if test \
+       \( "$sphinx_build_version_major" -gt \
+             "$sphinx_required_version_major" \) -o \
+       \( "$sphinx_build_version_major" -eq \
+             "$sphinx_required_version_major" -a \
+          "$sphinx_build_version_minor" -gt \
+             "$sphinx_required_version_minor" \) -o \
+       \( "$sphinx_build_version_major" -eq \
+             "$sphinx_required_version_major" -a \
+          "$sphinx_build_version_minor" -eq \
+             "$sphinx_required_version_minor" -a \
+          "$sphinx_build_version_micro" -ge \
+             "$sphinx_required_version_micro" \); then
+    :
+  else
+    ac_sphinx_available="no"
+  fi
+fi
+AC_SUBST(SPHINX_BUILD)
+AM_CONDITIONAL([ENABLE_DOCUMENT],
+               [test "$ac_sphinx_available" = "yes" -o \
+                     -f "$srcdir/doc/ja/html-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))
+
 CFLAGS="$CFLAGS -Werror"
 CXXFLAGS="$CXXFLAGS -Werror -fno-implicit-templates -fno-exceptions -fno-rtti -felide-constructors"
 
@@ -194,6 +247,8 @@ AC_CONFIG_FILES([
   rpm/centos/Makefile
   rpm/fedora/Makefile
   yum/Makefile
+  doc/Makefile
+  doc/ja/Makefile
 ])
 AC_OUTPUT([
   rpm/centos/mysql-groonga.spec

  Added: doc/Makefile.am (+1 -0) 100644
===================================================================
--- /dev/null
+++ doc/Makefile.am    2010-10-29 09:33:12 +0000 (38057c6)
@@ -0,0 +1 @@
+SUBDIRS = ja

  Modified: doc/ja/Makefile (+555 -77)
===================================================================
--- doc/ja/Makefile    2010-10-29 01:13:37 +0000 (6da7a1f)
+++ doc/ja/Makefile    2010-10-29 09:33:12 +0000 (6ce8471)
@@ -1,130 +1,608 @@
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
+# doc/ja/Makefile.  Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+
+pkgdatadir = $(datadir)/groonga-storage-engine
+pkgincludedir = $(includedir)/groonga-storage-engine
+pkglibdir = $(libdir)/groonga-storage-engine
+pkglibexecdir = $(libexecdir)/groonga-storage-engine
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+subdir = doc/ja
+DIST_COMMON = $(am__nobase_dist_doc_ja_DATA_DIST) \
+	$(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+	$(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+SOURCES =
+DIST_SOURCES =
+am__nobase_dist_doc_ja_DATA_DIST = source/characteristic.rst \
+	source/conf.py source/developer.rst source/index.rst \
+	source/install.rst source/news.rst source/reference.rst \
+	source/userguide.rst html/.buildinfo \
+	html/_sources/characteristic.txt html/_sources/developer.txt \
+	html/_sources/index.txt html/_sources/install.txt \
+	html/_sources/news.txt html/_sources/reference.txt \
+	html/_sources/userguide.txt html/_static/basic.css \
+	html/_static/default.css html/_static/doctools.js \
+	html/_static/file.png html/_static/jquery.js \
+	html/_static/minus.png html/_static/plus.png \
+	html/_static/pygments.css html/_static/searchtools.js \
+	html/_static/sidebar.js html/_static/underscore.js \
+	html/characteristic.html html/developer.html \
+	html/genindex.html html/index.html html/install.html \
+	html/news.html html/objects.inv html/reference.html \
+	html/search.html html/searchindex.js html/userguide.html
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+    *) f=$$p;; \
+  esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+  for p in $$list; do echo "$$p $$p"; done | \
+  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+    if (++n[$$2] == $(am__install_max)) \
+      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+    END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__installdirs = "$(DESTDIR)$(doc_jadir)"
+DATA = $(nobase_dist_doc_ja_DATA)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/kou/work/cpp/mroonga/missing --run aclocal-1.11
+AMTAR = ${SHELL} /home/kou/work/cpp/mroonga/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /home/kou/work/cpp/mroonga/missing --run autoconf
+AUTOHEADER = ${SHELL} /home/kou/work/cpp/mroonga/missing --run autoheader
+AUTOMAKE = ${SHELL} /home/kou/work/cpp/mroonga/missing --run automake-1.11
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS =  -g -O2 -Werror
+CPP = gcc -E
+CPPFLAGS = 
+CUTTER = /tmp/local/bin/cutter
+CUTTER_CFLAGS = -I/tmp/local/include/cutter  
+CUTTER_LIBS = -L/tmp/local/lib -lcutter  
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS =  -g -O2 -Werror -fno-implicit-templates -fno-exceptions -fno-rtti -felide-constructors
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+DSYMUTIL = 
+DUMPBIN = 
+ECHO_C = 
+ECHO_N = -n
+ECHO_T = 
+EGREP = /bin/grep -E
+EXEEXT = 
+FGREP = /bin/grep -F
+GCUTTER_CFLAGS = -pthread -I/tmp/local/include/cutter -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
+GCUTTER_LIBS = -pthread -L/tmp/local/lib -lcutter -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0  
+GREP = /bin/grep
+GROONGA_CFLAGS = -I/usr/include/groonga  
+GROONGA_LIBS = -lgroonga  
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS = 
+LIBOBJS = 
+LIBS = 
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIPO = 
+LN_S = ln -s
+LTLIBOBJS = 
+MAKEINFO = ${SHELL} /home/kou/work/cpp/mroonga/missing --run makeinfo
+MECAB_INCLUDES = 
+MECAB_LIBS = 
+MKDIR_P = /bin/mkdir -p
+MYSQL_BUILD = /home/kou/work/cpp/mroonga/../mysql/builddir
+MYSQL_INC = -I/home/kou/work/cpp/mroonga/../mysql/sql -I/home/kou/work/cpp/mroonga/../mysql/include -I/home/kou/work/cpp/mroonga/../mysql/regex -I/home/kou/work/cpp/mroonga/../mysql -I/usr/include/mysql
+NM = /usr/bin/nm -B
+NMEDIT = 
+OBJDUMP = objdump
+OBJEXT = o
+OTOOL = 
+OTOOL64 = 
+PACKAGE = groonga-storage-engine
+PACKAGE_BUGREPORT = ikdtt****@gmail*****
+PACKAGE_NAME = groonga-storage-engine
+PACKAGE_STRING = groonga-storage-engine 0.3
+PACKAGE_TARNAME = groonga-storage-engine
+PACKAGE_URL = 
+PACKAGE_VERSION = 0.3
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/bin/pkg-config
+PKG_CONFIG_LIBDIR = 
+PKG_CONFIG_PATH = /tmp/local/lib/pkgconfig
+RANLIB = ranlib
+RSYNC_PATH = packages.groonga.org:/var/www/packages.groonga.org/public
+SED = /bin/sed
+SET_MAKE = 
+SHELL = /bin/sh
+SPHINX_BUILD = /usr/bin/sphinx-build
+STRIP = strip
+VERSION = 0.3
+abs_builddir = /home/kou/work/cpp/mroonga/doc/ja
+abs_srcdir = /home/kou/work/cpp/mroonga/doc/ja
+abs_top_builddir = /home/kou/work/cpp/mroonga
+abs_top_srcdir = /home/kou/work/cpp/mroonga
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN = 
+ac_mysql_config = /usr/bin/mysql_config
+am__include = include
+am__leading_dot = .
+am__quote = 
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias = 
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = $(pkgdatadir)/doc
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias = 
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /home/kou/work/cpp/mroonga/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+lt_ECHO = echo
+mandir = ${datarootdir}/man
+mkdir_p = /bin/mkdir -p
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+plugindir = /usr/lib/mysql/plugin
+prefix = /tmp/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+sysconfdir = ${prefix}/etc
+target_alias = 
+top_build_prefix = ../../
+top_builddir = ../..
+top_srcdir = ../..
+doc_jadir = $(docdir)/ja
+
 # Makefile for Sphinx documentation
 #
 
 # You can set these variables from the command line.
-SPHINXOPTS    =
-SPHINXBUILD   = sphinx-build
-PAPER         =
-BUILDDIR      = build
+SPHINXOPTS = 
+PAPER = 
+BUILDDIR = .
 
 # Internal variables.
-PAPEROPT_a4     = -D latex_paper_size=a4
+PAPEROPT_a4 = -D latex_paper_size=a4
 PAPEROPT_letter = -D latex_paper_size=letter
-ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
+# ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
+ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(SPHINXOPTS) source
+nobase_dist_doc_ja_DATA = \
+	$(source_files)				\
+	$(html_files)
+
+
+# find source -type f -not -name '*.pyc' | sort | sed -e 's,^,\t,g'
+source_files = \
+	source/characteristic.rst		\
+	source/conf.py				\
+	source/developer.rst			\
+	source/index.rst			\
+	source/install.rst			\
+	source/news.rst				\
+	source/reference.rst			\
+	source/userguide.rst
+
+
+# find html -type f | sort | sed -e 's,^,\t,g'
+html_files = \
+	html/.buildinfo				\
+	html/_sources/characteristic.txt	\
+	html/_sources/developer.txt		\
+	html/_sources/index.txt			\
+	html/_sources/install.txt		\
+	html/_sources/news.txt			\
+	html/_sources/reference.txt		\
+	html/_sources/userguide.txt		\
+	html/_static/basic.css			\
+	html/_static/default.css		\
+	html/_static/doctools.js		\
+	html/_static/file.png			\
+	html/_static/jquery.js			\
+	html/_static/minus.png			\
+	html/_static/plus.png			\
+	html/_static/pygments.css		\
+	html/_static/searchtools.js		\
+	html/_static/sidebar.js			\
+	html/_static/underscore.js		\
+	html/characteristic.html		\
+	html/developer.html			\
+	html/genindex.html			\
+	html/index.html				\
+	html/install.html			\
+	html/news.html				\
+	html/objects.inv			\
+	html/reference.html			\
+	html/search.html			\
+	html/searchindex.js			\
+	html/userguide.html
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+	@for dep in $?; do \
+	  case '$(am__configure_deps)' in \
+	    *$$dep*) \
+	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+	        && { if test -f $@; then exit 0; else break; fi; }; \
+	      exit 1;; \
+	  esac; \
+	done; \
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/ja/Makefile'; \
+	$(am__cd) $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign doc/ja/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+	@case '$?' in \
+	  *config.status*) \
+	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+	  *) \
+	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+	esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+	-rm -f *.lo
+
+clean-libtool:
+	-rm -rf .libs _libs
+install-nobase_dist_doc_jaDATA: $(nobase_dist_doc_ja_DATA)
+	@$(NORMAL_INSTALL)
+	test -z "$(doc_jadir)" || $(MKDIR_P) "$(DESTDIR)$(doc_jadir)"
+	@list='$(nobase_dist_doc_ja_DATA)'; test -n "$(doc_jadir)" || list=; \
+	$(am__nobase_list) | while read dir files; do \
+	  xfiles=; for file in $$files; do \
+	    if test -f "$$file"; then xfiles="$$xfiles $$file"; \
+	    else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
+	  test -z "$$xfiles" || { \
+	    test "x$$dir" = x. || { \
+	      echo "$(MKDIR_P) '$(DESTDIR)$(doc_jadir)/$$dir'"; \
+	      $(MKDIR_P) "$(DESTDIR)$(doc_jadir)/$$dir"; }; \
+	    echo " $(INSTALL_DATA) $$xfiles '$(DESTDIR)$(doc_jadir)/$$dir'"; \
+	    $(INSTALL_DATA) $$xfiles "$(DESTDIR)$(doc_jadir)/$$dir" || exit $$?; }; \
+	done
+
+uninstall-nobase_dist_doc_jaDATA:
+	@$(NORMAL_UNINSTALL)
+	@list='$(nobase_dist_doc_ja_DATA)'; test -n "$(doc_jadir)" || list=; \
+	$(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
+	test -n "$$files" || exit 0; \
+	echo " ( cd '$(DESTDIR)$(doc_jadir)' && rm -f" $$files ")"; \
+	cd "$(DESTDIR)$(doc_jadir)" && rm -f $$files
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+#dist-hook:
+
+distdir: $(DISTFILES)
+	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+	list='$(DISTFILES)'; \
+	  dist_files=`for file in $$list; do echo $$file; done | \
+	  sed -e "s|^$$srcdirstrip/||;t" \
+	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+	case $$dist_files in \
+	  */*) $(MKDIR_P) `echo "$$dist_files" | \
+			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+			   sort -u` ;; \
+	esac; \
+	for file in $$dist_files; do \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  if test -d $$d/$$file; then \
+	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+	    if test -d "$(distdir)/$$file"; then \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+	  else \
+	    test -f "$(distdir)/$$file" \
+	    || cp -p $$d/$$file "$(distdir)/$$file" \
+	    || exit 1; \
+	  fi; \
+	done
+	$(MAKE) $(AM_MAKEFLAGS) \
+	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
+	  dist-hook
+check-am: all-am
+check: check-am
+all-am: Makefile $(DATA)
+installdirs:
+	for dir in "$(DESTDIR)$(doc_jadir)"; do \
+	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+	done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+	-rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am: html-local
+
+info: info-am
+
+info-am:
+
+install-data-am: install-nobase_dist_doc_jaDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
 
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+	-rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am: pdf-local
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-nobase_dist_doc_jaDATA
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
+	clean-local dist-hook distclean distclean-generic \
+	distclean-libtool distdir dvi dvi-am html html-am html-local \
+	info info-am install install-am install-data install-data-am \
+	install-dvi install-dvi-am install-exec install-exec-am \
+	install-html install-html-am install-info install-info-am \
+	install-man install-nobase_dist_doc_jaDATA install-pdf \
+	install-pdf-am install-ps install-ps-am install-strip \
+	installcheck installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-generic \
+	mostlyclean-libtool pdf pdf-am pdf-local ps ps-am uninstall \
+	uninstall-am uninstall-nobase_dist_doc_jaDATA
+
+
+.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
 
 help:
 	@echo "Please use \`make <target>' where <target> is one of"
-	@echo "  html       to make standalone HTML files"
-	@echo "  dirhtml    to make HTML files named index.html in directories"
-	@echo "  singlehtml to make a single large HTML file"
-	@echo "  pickle     to make pickle files"
-	@echo "  json       to make JSON files"
-	@echo "  htmlhelp   to make HTML files and a HTML help project"
-	@echo "  qthelp     to make HTML files and a qthelp project"
-	@echo "  devhelp    to make HTML files and a Devhelp project"
-	@echo "  epub       to make an epub"
-	@echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
-	@echo "  latexpdf   to make LaTeX files and run them through pdflatex"
-	@echo "  text       to make text files"
-	@echo "  man        to make manual pages"
-	@echo "  changes    to make an overview of all changed/added/deprecated items"
-	@echo "  linkcheck  to check all external links for integrity"
-	@echo "  doctest    to run all doctests embedded in the documentation (if enabled)"
-
-clean:
-	-rm -rf $(BUILDDIR)/*
-
-html:
-	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+	@echo "  html      to make standalone HTML files"
+	@echo "  dirhtml   to make HTML files named index.html in directories"
+	@echo "  pickle    to make pickle files"
+	@echo "  json      to make JSON files"
+	@echo "  htmlhelp  to make HTML files and a HTML help project"
+	@echo "  qthelp    to make HTML files and a qthelp project"
+	@echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+	@echo "  changes   to make an overview of all changed/added/deprecated items"
+	@echo "  linkcheck to check all external links for integrity"
+	@echo "  doctest   to run all doctests embedded in the documentation (if enabled)"
+
+clean-local:
+	-rm -rf $(BUILDDIR)/doctree
+	-rm -rf $(BUILDDIR)/html
+	-rm -rf $(BUILDDIR)/dirhtml
+	-rm -rf $(BUILDDIR)/pickle
+	-rm -rf $(BUILDDIR)/json
+	-rm -rf $(BUILDDIR)/htmlhelp
+	-rm -rf $(BUILDDIR)/qthelp
+	-rm -rf $(BUILDDIR)/latex
+	-rm -rf $(BUILDDIR)/changes
+	-rm -rf $(BUILDDIR)/linkcheck
+	-rm -rf $(BUILDDIR)/doctest
+	-rm -rf $(BUILDDIR)/pdf
+
+html-local:
+	$(SPHINX_BUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
 	@echo
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
 
 dirhtml:
-	$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
+	$(SPHINX_BUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
 	@echo
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
 
-singlehtml:
-	$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
-	@echo
-	@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
-
 pickle:
-	$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
+	$(SPHINX_BUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
 	@echo
 	@echo "Build finished; now you can process the pickle files."
 
 json:
-	$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
+	$(SPHINX_BUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
 	@echo
 	@echo "Build finished; now you can process the JSON files."
 
 htmlhelp:
-	$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
+	$(SPHINX_BUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
 	@echo
 	@echo "Build finished; now you can run HTML Help Workshop with the" \
 	      ".hhp project file in $(BUILDDIR)/htmlhelp."
 
 qthelp:
-	$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
+	$(SPHINX_BUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
 	@echo
 	@echo "Build finished; now you can run "qcollectiongenerator" with the" \
 	      ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
-	@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/groongastorageengine.qhcp"
-	@echo "To view the help file:"
-	@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/groongastorageengine.qhc"
-
-devhelp:
-	$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
-	@echo
-	@echo "Build finished."
+	@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/groonga.qhcp"
 	@echo "To view the help file:"
-	@echo "# mkdir -p $$HOME/.local/share/devhelp/groongastorageengine"
-	@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/groongastorageengine"
-	@echo "# devhelp"
-
-epub:
-	$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
-	@echo
-	@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
+	@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/groonga.qhc"
 
 latex:
-	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+	$(SPHINX_BUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
 	@echo
 	@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
-	@echo "Run \`make' in that directory to run these through (pdf)latex" \
-	      "(use \`make latexpdf' here to do that automatically)."
-
-latexpdf:
-	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
-	@echo "Running LaTeX files through pdflatex..."
-	make -C $(BUILDDIR)/latex all-pdf
-	@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
-
-text:
-	$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
-	@echo
-	@echo "Build finished. The text files are in $(BUILDDIR)/text."
-
-man:
-	$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
-	@echo
-	@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
+	@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
+	      "run these through (pdf)latex."
 
 changes:
-	$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
+	$(SPHINX_BUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
 	@echo
 	@echo "The overview file is in $(BUILDDIR)/changes."
 
 linkcheck:
-	$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
+	$(SPHINX_BUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
 	@echo
 	@echo "Link check complete; look for any errors in the above output " \
 	      "or in $(BUILDDIR)/linkcheck/output.txt."
 
 doctest:
-	$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
+	$(SPHINX_BUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
 	@echo "Testing of doctests in the sources finished, look at the " \
 	      "results in $(BUILDDIR)/doctest/output.txt."
+
+pdf-local:
+	$(SPHINX_BUILD) -b pdf $(ALLSPHINXOPTS) $(BUILDDIR)/pdf
+	@echo
+	@echo "Build finished. The PDF files are in $(BUILDDIR)/pdf."
+
+dist-hook:
+	@touch $(distdir)/html-build-stamp
+
+$(html_files): html-build-stamp
+html-build-stamp:
+	$(MAKE) html
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:

  Added: doc/ja/Makefile.am (+165 -0) 100644
===================================================================
--- /dev/null
+++ doc/ja/Makefile.am    2010-10-29 09:33:12 +0000 (88b48ce)
@@ -0,0 +1,165 @@
+docdir = $(pkgdatadir)/doc
+doc_jadir = $(docdir)/ja
+
+# Makefile for Sphinx documentation
+#
+
+# You can set these variables from the command line.
+SPHINXOPTS    =
+PAPER         =
+BUILDDIR      = .
+
+# Internal variables.
+PAPEROPT_a4     = -D latex_paper_size=a4
+PAPEROPT_letter = -D latex_paper_size=letter
+# ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
+ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(SPHINXOPTS) source
+
+.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
+
+help:
+	@echo "Please use \`make <target>' where <target> is one of"
+	@echo "  html      to make standalone HTML files"
+	@echo "  dirhtml   to make HTML files named index.html in directories"
+	@echo "  pickle    to make pickle files"
+	@echo "  json      to make JSON files"
+	@echo "  htmlhelp  to make HTML files and a HTML help project"
+	@echo "  qthelp    to make HTML files and a qthelp project"
+	@echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+	@echo "  changes   to make an overview of all changed/added/deprecated items"
+	@echo "  linkcheck to check all external links for integrity"
+	@echo "  doctest   to run all doctests embedded in the documentation (if enabled)"
+
+clean-local:
+	-rm -rf $(BUILDDIR)/doctree
+	-rm -rf $(BUILDDIR)/html
+	-rm -rf $(BUILDDIR)/dirhtml
+	-rm -rf $(BUILDDIR)/pickle
+	-rm -rf $(BUILDDIR)/json
+	-rm -rf $(BUILDDIR)/htmlhelp
+	-rm -rf $(BUILDDIR)/qthelp
+	-rm -rf $(BUILDDIR)/latex
+	-rm -rf $(BUILDDIR)/changes
+	-rm -rf $(BUILDDIR)/linkcheck
+	-rm -rf $(BUILDDIR)/doctest
+	-rm -rf $(BUILDDIR)/pdf
+
+html-local:
+	$(SPHINX_BUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
+	@echo
+	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
+
+dirhtml:
+	$(SPHINX_BUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
+	@echo
+	@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
+
+pickle:
+	$(SPHINX_BUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
+	@echo
+	@echo "Build finished; now you can process the pickle files."
+
+json:
+	$(SPHINX_BUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
+	@echo
+	@echo "Build finished; now you can process the JSON files."
+
+htmlhelp:
+	$(SPHINX_BUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
+	@echo
+	@echo "Build finished; now you can run HTML Help Workshop with the" \
+	      ".hhp project file in $(BUILDDIR)/htmlhelp."
+
+qthelp:
+	$(SPHINX_BUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
+	@echo
+	@echo "Build finished; now you can run "qcollectiongenerator" with the" \
+	      ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
+	@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/groonga.qhcp"
+	@echo "To view the help file:"
+	@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/groonga.qhc"
+
+latex:
+	$(SPHINX_BUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+	@echo
+	@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
+	@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
+	      "run these through (pdf)latex."
+
+changes:
+	$(SPHINX_BUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
+	@echo
+	@echo "The overview file is in $(BUILDDIR)/changes."
+
+linkcheck:
+	$(SPHINX_BUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
+	@echo
+	@echo "Link check complete; look for any errors in the above output " \
+	      "or in $(BUILDDIR)/linkcheck/output.txt."
+
+doctest:
+	$(SPHINX_BUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
+	@echo "Testing of doctests in the sources finished, look at the " \
+	      "results in $(BUILDDIR)/doctest/output.txt."
+
+pdf-local:
+	$(SPHINX_BUILD) -b pdf $(ALLSPHINXOPTS) $(BUILDDIR)/pdf
+	@echo
+	@echo "Build finished. The PDF files are in $(BUILDDIR)/pdf."
+
+if ENABLE_DOCUMENT
+dist-hook:
+	@touch $(distdir)/html-build-stamp
+
+nobase_dist_doc_ja_DATA =			\
+	$(source_files)				\
+	$(html_files)
+
+# find source -type f -not -name '*.pyc' | sort | sed -e 's,^,\t,g'
+source_files =					\
+	source/characteristic.rst		\
+	source/conf.py				\
+	source/developer.rst			\
+	source/index.rst			\
+	source/install.rst			\
+	source/news.rst				\
+	source/reference.rst			\
+	source/userguide.rst
+
+# find html -type f | sort | sed -e 's,^,\t,g'
+html_files =					\
+	html/.buildinfo				\
+	html/_sources/characteristic.txt	\
+	html/_sources/developer.txt		\
+	html/_sources/index.txt			\
+	html/_sources/install.txt		\
+	html/_sources/news.txt			\
+	html/_sources/reference.txt		\
+	html/_sources/userguide.txt		\
+	html/_static/basic.css			\
+	html/_static/default.css		\
+	html/_static/doctools.js		\
+	html/_static/file.png			\
+	html/_static/jquery.js			\
+	html/_static/minus.png			\
+	html/_static/plus.png			\
+	html/_static/pygments.css		\
+	html/_static/searchtools.js		\
+	html/_static/sidebar.js			\
+	html/_static/underscore.js		\
+	html/characteristic.html		\
+	html/developer.html			\
+	html/genindex.html			\
+	html/index.html				\
+	html/install.html			\
+	html/news.html				\
+	html/objects.inv			\
+	html/reference.html			\
+	html/search.html			\
+	html/searchindex.js			\
+	html/userguide.html
+
+$(html_files): html-build-stamp
+html-build-stamp:
+	$(MAKE) html
+endif




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