summaryrefslogtreecommitdiff
path: root/src/couch_index
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2013-12-18 14:04:59 +0000
committerRobert Newson <rnewson@apache.org>2014-02-03 12:53:55 +0000
commitf84eb4fc50ef8e6d26508bbc55c5dbd270f9d408 (patch)
tree0646f26fd4a38efe051aae4cfae41bcbb873ef38 /src/couch_index
parent938fc0116e289d86e48e3454920e51e37d6308e1 (diff)
downloadcouchdb-f84eb4fc50ef8e6d26508bbc55c5dbd270f9d408.tar.gz
Build with rebar
Diffstat (limited to 'src/couch_index')
-rw-r--r--src/couch_index/Makefile.am38
-rw-r--r--src/couch_index/src/couch_index.app.src2
2 files changed, 1 insertions, 39 deletions
diff --git a/src/couch_index/Makefile.am b/src/couch_index/Makefile.am
deleted file mode 100644
index 945623acc..000000000
--- a/src/couch_index/Makefile.am
+++ /dev/null
@@ -1,38 +0,0 @@
-## Licensed under the Apache License, Version 2.0 (the "License"); you may not
-## use this file except in compliance with the License. You may obtain a copy of
-## the License at
-##
-## http://www.apache.org/licenses/LICENSE-2.0
-##
-## Unless required by applicable law or agreed to in writing, software
-## distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-## WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-## License for the specific language governing permissions and limitations under
-## the License.
-
-couch_indexlibdir = $(localerlanglibdir)/couch_index-0.1
-couch_indexebindir = $(couch_indexlibdir)/ebin
-
-couch_indexebin_DATA = $(compiled_files)
-
-EXTRA_DIST = $(source_files)
-CLEANFILES = $(compiled_files)
-
-source_files = \
- src/couch_index.erl \
- src/couch_index_compactor.erl \
- src/couch_index_server.erl \
- src/couch_index_updater.erl \
- src/couch_index_util.erl
-
-compiled_files = \
- ebin/couch_index.beam \
- ebin/couch_index_compactor.beam \
- ebin/couch_index_server.beam \
- ebin/couch_index_updater.beam \
- ebin/couch_index_util.beam
-
-ebin/%.beam: src/%.erl
- @mkdir -p ebin/
- $(ERLC) -I$(top_srcdir)/src -o ebin/ $(ERLC_FLAGS) ${TEST} $<;
-
diff --git a/src/couch_index/src/couch_index.app.src b/src/couch_index/src/couch_index.app.src
index 141ed9d35..594589d5e 100644
--- a/src/couch_index/src/couch_index.app.src
+++ b/src/couch_index/src/couch_index.app.src
@@ -12,7 +12,7 @@
{application, couch_index, [
{description, "CouchDB Secondary Index Manager"},
- {vsn, "@version@"},
+ {vsn, git},
{modules, [
couch_index,
couch_index_server