Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

GROONGA_VERSEION -> GRN_VERSION

  • Loading branch information...
commit 592be6de749b6050989abfff736cb70a694726ac 1 parent 86d9f86
@kou kou authored
View
2  Makefile.am
@@ -31,7 +31,7 @@ $(srcdir)/version.sh: FORCE
include $(srcdir)/version.sh
dist-hook:
- echo "$(GROONGA_VERSION)" > $(distdir)/version
+ echo "$(GRN_VERSION)" > $(distdir)/version
@if test -d $(top_srcdir)/.git; then \
cd $(top_srcdir) && release/gitlog2changelog.py > \
$(distdir)/ChangeLog; \
View
2  configure.ac
@@ -189,7 +189,7 @@ AC_SUBST(GRN_DLL_FILENAME)
if test "$srcdir/version.sh"; then
source "$srcdir/version.sh"
- AC_SUBST(GROONGA_VERSION)
+ AC_SUBST(GRN_VERSION)
fi
AC_CONFIG_FILES([
View
6 doc/source/conf.py
@@ -71,13 +71,13 @@
#
# read version from env/file.
-if os.environ.has_key('GROONGA_VERSION'):
- version_sh = 'GROONGA_VERSION=' + os.environ['GROONGA_VERSION']
+if os.environ.has_key('GRN_VERSION'):
+ version_sh = 'GRN_VERSION=' + os.environ['GRN_VERSION']
else:
os.system('../../version-gen.sh')
version_sh = open(os.path.join(os.path.dirname(__file__), '../../version.sh')).read()
-release_regex = re.compile(r'^GROONGA_VERSION=(?P<release>.*)$')
+release_regex = re.compile(r'^GRN_VERSION=(?P<release>.*)$')
# The full version, including alpha/beta/rc tags.
release = release_regex.search(version_sh).group('release')
View
2  groonga.pc.in
@@ -8,7 +8,7 @@ datadir=@datadir@
document_root=@GRN_EXPANDED_DEFAULT_DOCUMENT_ROOT@
groonga=${bindir}/groonga@EXEEXT@
groonga_suggest_create_dataset=${bindir}/groonga-suggest-create-dataset@EXEEXT@
-groonga_version=@GROONGA_VERSION@
+groonga_version=@GRN_VERSION@
Name: Groonga
Description: An Embeddable Fulltext Search Engine
View
2  lib/Makefile.am
@@ -9,7 +9,7 @@ AM_CFLAGS = \
$(GRN_CFLAGS) \
$(MESSAGE_PACK_CFLAGS)
DEFAULT_INCLUDES = -I$(top_builddir) -I$(top_srcdir)/include
-DEFS += -D_REENTRANT -DGROONGA_VERSION=\"$(GROONGA_VERSION)\" $(GRN_DEFS)
+DEFS += -D_REENTRANT -DGRN_VERSION=\"$(GRN_VERSION)\" $(GRN_DEFS)
libgroonga_la_SOURCES = \
com.c \
View
2  lib/ctx.c
@@ -2352,7 +2352,7 @@ grn_assert(grn_ctx *ctx, int cond, const char* file, int line, const char* func)
const char *
grn_get_version(void)
{
- return GROONGA_VERSION;
+ return GRN_VERSION;
}
const char *
View
2  mkmfwin32.vbs
@@ -133,7 +133,7 @@ sub common_header()
ts.write "\"""" \" + vbLf
if make_lib = 1 then
- ts.write " -DGROONGA_VERSION=""\"""
+ ts.write " -DGRN_VERSION=""\"""
ts.write revision
ts.write "\"""" \" + vbLf
end if
View
4 version-gen.sh
@@ -20,12 +20,12 @@ GRN_VN=`expr "$GRN_VN" : v*'\(.*\)'`
if test -r $GRN_VERSION_SH
then
- GRN_VN_OLD=`sed -e 's/^GROONGA_VERSION=//' <$GRN_VERSION_SH`
+ GRN_VN_OLD=`sed -e 's/^GRN_VERSION=//' <$GRN_VERSION_SH`
else
GRN_VN_OLD=unset
fi
if test "$GRN_VN_OLD" != "$GRN_VN"
then
- echo "GROONGA_VERSION=$GRN_VN" >$GRN_VERSION_SH
+ echo "GRN_VERSION=$GRN_VN" >$GRN_VERSION_SH
fi
Please sign in to comment.
Something went wrong with that request. Please try again.