summaryrefslogtreecommitdiff
path: root/share
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 /share
parent938fc0116e289d86e48e3454920e51e37d6308e1 (diff)
downloadcouchdb-f84eb4fc50ef8e6d26508bbc55c5dbd270f9d408.tar.gz
Build with rebar
Diffstat (limited to 'share')
-rw-r--r--share/Makefile.am219
-rw-r--r--share/doc/Makefile.am14
-rw-r--r--share/doc/build/Makefile.am354
3 files changed, 0 insertions, 587 deletions
diff --git a/share/Makefile.am b/share/Makefile.am
deleted file mode 100644
index 31373ee2a..000000000
--- a/share/Makefile.am
+++ /dev/null
@@ -1,219 +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.
-
-SUBDIRS = doc
-
-JS_FILE = server/main.js
-
-JS_FILE_COMPONENTS = \
- server/json2.js \
- server/filter.js \
- server/mimeparse.js \
- server/render.js \
- server/state.js \
- server/util.js \
- server/validate.js \
- server/views.js
-
-JS_FILE_COMPONENTS_LAST = server/loop.js
-
-$(JS_FILE): $(JS_FILE_COMPONENTS) $(JS_FILE_COMPONENTS_LAST)
- mkdir -p `dirname $(JS_FILE)`
- echo "// DO NOT EDIT THIS FILE BY HAND" > $@
- echo >> $@
- cat $^ >> $@
-
-COFFEE_FILE = server/main-coffee.js
-
-COFFEE_FILE_COMPONENTS_LAST = server/coffee-script.js server/loop.js
-
-$(COFFEE_FILE): $(JS_FILE_COMPONENTS) $(COFFEE_FILE_COMPONENTS_LAST)
- mkdir -p `dirname $(COFFEE_FILE)`
- echo "// DO NOT EDIT THIS FILE BY HAND" > $@
- echo >> $@
- cat $^ >> $@
-
-CLEANFILES = $(JS_FILE) $(COFFEE_FILE)
-
-EXTRA_DIST = $(JS_FILE_COMPONENTS) $(JS_FILE_COMPONENTS_LAST) $(COFFEE_FILE_COMPONENTS_LAST)
-
-nobase_localdata_SCRIPTS = \
- $(JS_FILE) \
- $(COFFEE_FILE)
-
-nobase_dist_localdata_DATA = \
- www/config.html \
- www/couch_tests.html \
- www/custom_test.html \
- www/database.html \
- www/session.html \
- www/dialog/_admin_party.html \
- www/dialog/_change_password.html \
- www/dialog/_compact_cleanup.html \
- www/dialog/_create_admin.html \
- www/dialog/_login.html \
- www/dialog/_signup.html \
- www/dialog/_create_database.html \
- www/dialog/_create_config.html \
- www/dialog/_delete_database.html \
- www/dialog/_delete_document.html \
- www/dialog/_database_security.html \
- www/dialog/_share_test_reports.html \
- www/dialog/_save_view_as.html \
- www/dialog/_upload_attachment.html \
- www/document.html \
- www/favicon.ico \
- www/image/add.png \
- www/image/apply.gif \
- www/image/bg.png \
- www/image/cancel.gif \
- www/image/compact.png \
- www/image/delete-mini.png \
- www/image/delete.png \
- www/image/grippie.gif \
- www/image/hgrad.gif \
- www/image/key.png \
- www/image/load.png \
- www/image/logo.png \
- www/image/order-asc.gif \
- www/image/order-desc.gif \
- www/image/path.gif \
- www/image/progress.gif \
- www/image/rarrow.png \
- www/image/run-mini.png \
- www/image/run.png \
- www/image/running.png \
- www/image/save.png \
- www/image/sidebar-toggle.png \
- www/image/spinner.gif \
- www/image/spinner_33.gif \
- www/image/spinner_6b.gif \
- www/image/test_failure.gif \
- www/image/test_success.gif \
- www/image/thead-key.gif \
- www/image/thead.gif \
- www/image/toggle-collapse.gif \
- www/image/toggle-expand.gif \
- www/image/twisty.gif \
- www/index.html \
- www/replicator.html \
- www/script/couch.js \
- www/script/couch_tests.js \
- www/script/couch_test_runner.js \
- www/script/futon.browse.js \
- www/script/futon.format.js \
- www/script/futon.js \
- www/script/jquery.couch.js \
- www/script/jquery.dialog.js \
- www/script/jquery.editinline.js \
- www/script/jquery.form.js \
- www/script/jquery.js \
- www/script/jquery-ui-1.8.11.custom.min.js \
- www/script/jquery.resizer.js \
- www/script/jquery.suggest.js \
- www/script/json2.js \
- www/script/jspec/jspec.css \
- www/script/jspec/jspec.jquery.js \
- www/script/jspec/jspec.js \
- www/script/jspec/jspec.xhr.js \
- www/script/oauth.js \
- www/script/sha1.js \
- www/script/base64.js \
- www/script/test/all_docs.js \
- www/script/test/attachments.js \
- www/script/test/attachments_multipart.js \
- www/script/test/attachment_names.js \
- www/script/test/attachment_paths.js \
- www/script/test/attachment_ranges.js \
- www/script/test/attachment_views.js \
- www/script/test/auth_cache.js \
- www/script/test/basics.js \
- www/script/test/batch_save.js \
- www/script/test/bulk_docs.js \
- www/script/test/changes.js \
- www/script/test/coffee.js \
- www/script/test/compact.js \
- www/script/test/config.js \
- www/script/test/conflicts.js \
- www/script/test/content_negotiation.js \
- www/script/test/cookie_auth.js \
- www/script/test/copy_doc.js \
- www/script/test/delayed_commits.js \
- www/script/test/design_docs.js \
- www/script/test/design_options.js \
- www/script/test/design_paths.js \
- www/script/test/erlang_views.js \
- www/script/test/etags_head.js \
- www/script/test/etags_views.js \
- www/script/test/form_submit.js \
- www/script/test/http.js \
- www/script/test/invalid_docids.js \
- www/script/test/jsonp.js \
- www/script/test/large_docs.js \
- www/script/test/list_views.js \
- www/script/test/lorem.txt \
- www/script/test/lorem_b64.txt \
- www/script/test/lots_of_docs.js \
- www/script/test/method_override.js \
- www/script/test/multiple_rows.js \
- www/script/test/oauth.js \
- www/script/test/oauth_users_db.js \
- www/script/test/proxyauth.js \
- www/script/test/purge.js \
- www/script/test/reader_acl.js \
- www/script/test/recreate_doc.js \
- www/script/test/reduce.js \
- www/script/test/reduce_builtin.js \
- www/script/test/reduce_false.js \
- www/script/test/reduce_false_temp.js \
- www/script/test/replication.js \
- www/script/test/replicator_db.js \
- www/script/test/replicator_db_security.js \
- www/script/test/rev_stemming.js \
- www/script/test/rewrite.js \
- www/script/test/security_validation.js \
- www/script/test/show_documents.js \
- www/script/test/stats.js \
- www/script/test/update_documents.js \
- www/script/test/users_db.js \
- www/script/test/users_db_security.js \
- www/script/test/utf8.js \
- www/script/test/uuids.js \
- www/script/test/view_collation.js \
- www/script/test/view_collation_raw.js \
- www/script/test/view_conflicts.js \
- www/script/test/view_compaction.js \
- www/script/test/view_errors.js \
- www/script/test/view_include_docs.js \
- www/script/test/view_multi_key_all_docs.js \
- www/script/test/view_multi_key_design.js \
- www/script/test/view_multi_key_temp.js \
- www/script/test/view_offsets.js \
- www/script/test/view_update_seq.js \
- www/script/test/view_pagination.js \
- www/script/test/view_sandboxing.js \
- www/script/test/view_xml.js \
- www/spec/couch_js_class_methods_spec.js \
- www/spec/couch_js_instance_methods_1_spec.js \
- www/spec/couch_js_instance_methods_2_spec.js \
- www/spec/couch_js_instance_methods_3_spec.js \
- www/spec/custom_helpers.js \
- www/spec/jquery_couch_js_class_methods_spec.js \
- www/spec/jquery_couch_js_instance_methods_1_spec.js \
- www/spec/jquery_couch_js_instance_methods_2_spec.js \
- www/spec/jquery_couch_js_instance_methods_3_spec.js \
- www/spec/run.html \
- www/status.html \
- www/style/jquery-ui-1.8.11.custom.css \
- www/style/layout.css \
- www/verify_install.html \
- www/_sidebar.html
diff --git a/share/doc/Makefile.am b/share/doc/Makefile.am
deleted file mode 100644
index 34b41a03f..000000000
--- a/share/doc/Makefile.am
+++ /dev/null
@@ -1,14 +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.
-
-SUBDIRS = build
-
diff --git a/share/doc/build/Makefile.am b/share/doc/build/Makefile.am
deleted file mode 100644
index 3db9689c7..000000000
--- a/share/doc/build/Makefile.am
+++ /dev/null
@@ -1,354 +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.
-
-MAKE_SAFE = $(MAKE)
-
-SPHINXOPTS = \
- -n -c $(srcdir)/../src \
- -A local=1 \
- $(srcdir)/../src
-
-info_file_dist = texinfo/CouchDB.info
-
-info_file_inst = CouchDB
-
-if BUILD_INFO
-info_file_build = $(info_file_dist)
-else
-info_file_build =
-endif
-
-pdf_file_dist = latex/CouchDB.pdf.gz
-
-pdf_file_inst = CouchDB.pdf.gz
-
-if BUILD_PDF
-pdf_file_build = $(pdf_file_dist)
-else
-pdf_file_build =
-endif
-
-# Please keep lists of rst and related generated files sorted
-
-html_files = \
- html/_images/futon-createdb.png \
- html/_images/futon-editdoc.png \
- html/_images/futon-editeddoc.png \
- html/_images/futon-overview.png \
- html/_images/futon-replform.png \
- html/_sources/api/authn.txt \
- html/_sources/api/configuration.txt \
- html/_sources/api/database.txt \
- html/_sources/api/dbmaint.txt \
- html/_sources/api/design.txt \
- html/_sources/api/documents.txt \
- html/_sources/api/local.txt \
- html/_sources/api/misc.txt \
- html/_sources/api/reference.txt \
- html/_sources/api-basics.txt \
- html/_sources/changelog.txt \
- html/_sources/changes.txt \
- html/_sources/commonjs.txt \
- html/_sources/cors.txt \
- html/_sources/config_reference.txt \
- html/_sources/configuring.txt \
- html/_sources/ddocs.txt \
- html/_sources/errors.txt \
- html/_sources/http-proxying.txt \
- html/_sources/index.txt \
- html/_sources/intro.txt \
- html/_sources/json-structure.txt \
- html/_sources/os-daemons.txt \
- html/_sources/pretty_urls.txt \
- html/_sources/query-servers.txt \
- html/_sources/range.txt \
- html/_sources/release.txt \
- html/_sources/replication.txt \
- html/_sources/ssl.txt \
- html/_static/ajax-loader.gif \
- html/_static/basic.css \
- html/_static/comment-bright.png \
- html/_static/comment-close.png \
- html/_static/comment.png \
- html/_static/default.css \
- html/_static/doctools.js \
- html/_static/down-pressed.png \
- html/_static/down.png \
- html/_static/favicon.ico \
- html/_static/file.png \
- html/_static/jquery.js \
- html/_static/logo.png \
- html/_static/minus.png \
- html/_static/plus.png \
- html/_static/pygments.css \
- html/_static/rtd.css \
- html/_static/searchtools.js \
- html/_static/sidebar.js \
- html/_static/underscore.js \
- html/_static/up-pressed.png \
- html/_static/up.png \
- html/_static/websupport.js \
- html/api/authn.html \
- html/api/configuration.html \
- html/api/database.html \
- html/api/dbmaint.html \
- html/api/design.html \
- html/api/documents.html \
- html/api/local.html \
- html/api/misc.html \
- html/api/reference.html \
- html/api-basics.html \
- html/changelog.html \
- html/changes.html \
- html/commonjs.html \
- html/cors.html \
- html/config_reference.html \
- html/configuring.html \
- html/ddocs.html \
- html/errors.html \
- html/http-proxying.html \
- html/index.html \
- html/intro.html \
- html/json-structure.html \
- html/os-daemons.html \
- html/pretty_urls.html \
- html/query-servers.html \
- html/range.html \
- html/release.html \
- html/replication.html \
- html/ssl.html \
- html/objects.inv \
- html/genindex.html \
- html/search.html \
- html/searchindex.js
-
-if BUILD_HTML
-html_files_build = $(html_files)
-else
-html_files_build =
-endif
-
-image_files = \
- ../images/epub-icon.png \
- ../images/favicon.ico \
- ../images/futon-createdb.png \
- ../images/futon-editdoc.png \
- ../images/futon-editeddoc.png \
- ../images/futon-overview.png \
- ../images/futon-replform.png \
- ../images/logo.png
-
-src_files = \
- ../src/api/authn.rst \
- ../src/api/configuration.rst \
- ../src/api/database.rst \
- ../src/api/dbmaint.rst \
- ../src/api/design.rst \
- ../src/api/documents.rst \
- ../src/api/local.rst \
- ../src/api/misc.rst \
- ../src/api/reference.rst \
- ../src/api-basics.rst \
- ../src/changelog.rst \
- ../src/changes.rst \
- ../src/commonjs.rst \
- ../src/cors.rst \
- ../src/config_reference.rst \
- ../src/configuring.rst \
- ../src/ddocs.rst \
- ../src/errors.rst \
- ../src/http-proxying.rst \
- ../src/index.rst \
- ../src/intro.rst \
- ../src/json-structure.rst \
- ../src/os-daemons.rst \
- ../src/pretty_urls.rst \
- ../src/query-servers.rst \
- ../src/range.rst \
- ../src/release.rst \
- ../src/replication.rst \
- ../src/ssl.rst \
- ../src/conf.py
-
-src_files_html = \
- ../static/rtd.css \
- ../templates/help.html \
- ../templates/searchbox.html \
- ../templates/utilities.html
-
-EXTRA_DIST = \
- $(image_files) \
- $(src_files) \
- $(src_files_html) \
- $(info_file_build) \
- $(pdf_file_build) \
- $(html_files_build)
-
-BUILT_SOURCES = \
- $(info_file_build) \
- $(pdf_file_build) \
- $(html_files_build)
-
-$(pdf_file_dist): pdf
-
-$(html_files): html
-
-$(info_file_dist): info.stamp
- @if test -f $@; then :; else \
- rm -f info.stamp; \
- $(MAKE_SAFE) $(AM_MAKEFLAGS) info.stamp; \
- fi
-
-info.stamp: $(image_files) $(src_files)
- trap "rm -rf info.lock info.stamp" 1 2 13 15; \
- if mkdir info.lock 2>/dev/null; then \
- rm -f info.tmp; \
- touch info.tmp; \
- $(top_srcdir)/build-aux/sphinx-build \
- -b texinfo $(SPHINXOPTS) $(builddir)/texinfo; \
- $(MAKE_SAFE) -C texinfo info; \
- $(top_srcdir)/build-aux/sphinx-touch $(info_file_dist); \
- mv -f info.tmp $@; \
- rmdir info.lock; \
- else \
- while test -d info.lock; do \
- sleep 1; \
- done; \
- test -f info.stamp; \
- fi
-
-$(pdf_file_dist): pdf.stamp
- @if test -f $@; then :; else \
- rm -f pdf.stamp; \
- $(MAKE_SAFE) $(AM_MAKEFLAGS) pdf.stamp; \
- fi
-
-pdf.stamp: $(image_files) $(src_files)
- trap "rm -rf pdf.lock pdf.stamp" 1 2 13 15; \
- if mkdir pdf.lock 2>/dev/null; then \
- rm -f pdf.tmp; \
- touch pdf.tmp; \
- $(top_srcdir)/build-aux/sphinx-build \
- -b latex $(SPHINXOPTS) $(builddir)/latex; \
- $(MAKE_SAFE) -C latex all-pdf; \
- $(top_srcdir)/build-aux/sphinx-touch latex/CouchDB.pdf; \
- gzip -9 < latex/CouchDB.pdf > $(pdf_file_dist); \
- mv -f pdf.tmp $@; \
- rmdir pdf.lock; \
- else \
- while test -d pdf.lock; do \
- sleep 1; \
- done; \
- test -f pdf.stamp; \
- fi
-
-$(html_files): html.stamp
- @if test -f $@; then :; else \
- rm -f html.stamp; \
- $(MAKE_SAFE) $(AM_MAKEFLAGS) html.stamp; \
- fi
-
-html.stamp: $(image_files) $(src_files) $(src_files_html)
- trap "rm -rf html.lock html.stamp" 1 2 13 15; \
- if mkdir html.lock 2>/dev/null; then \
- rm -f html.tmp; \
- touch html.tmp; \
- $(top_srcdir)/build-aux/sphinx-build \
- -b html $(SPHINXOPTS) $(builddir)/html; \
- $(top_srcdir)/build-aux/sphinx-touch $(html_files); \
- mv -f html.tmp $@; \
- rmdir html.lock; \
- else \
- while test -d html.lock; do \
- sleep 1; \
- done; \
- test -f html.stamp; \
- fi
-
-pdf-local:
- $(MAKE) $(AM_MAKEFLAGS) pdf.stamp
-
-html-local:
- $(MAKE) $(AM_MAKEFLAGS) html.stamp
-
-install-data-local:
- if test -s $(info_file_dist); then \
- $(INSTALL) -d $(DESTDIR)$(infodir); \
- $(INSTALL_DATA) \
- $(info_file_dist) $(DESTDIR)$(infodir)/$(info_file_inst); \
- if test -n "`which install-info`"; then \
- install-info \
- $(DESTDIR)$(infodir)/$(info_file_inst) \
- $(DESTDIR)$(infodir)/dir \
- || true; \
- fi \
- fi
- if test -s $(pdf_file_dist); then \
- $(INSTALL) -d $(DESTDIR)$(localdocdir); \
- $(INSTALL_DATA) \
- $(pdf_file_dist) $(DESTDIR)$(localdocdir)/$(pdf_file_inst); \
- fi
- for dist_file in $(html_files); do \
- if test -s $$dist_file; then \
- inst_file=`echo $$dist_file | sed s,^html,docs,`; \
- $(INSTALL) -d `dirname $(DESTDIR)$(localdatadir)/www/$$inst_file`; \
- $(INSTALL_DATA) \
- $$dist_file $(DESTDIR)$(localdatadir)/www/$$inst_file; \
- fi \
- done
-
-uninstall-local:
- rm -f $(DESTDIR)$(infodir)/$(info_file_inst)
- if test -d $(DESTDIR)$(infodir); then \
- if test -n "`which install-info`"; then\
- install-info \
- --delete \
- $(DESTDIR)$(infodir)/$(info_file_inst) \
- $(DESTDIR)$(infodir)/dir \
- || true; \
- fi \
- fi
- rm -f $(DESTDIR)$(localdocdir)/$(pdf_file_inst)
- for dist_file in $(html_files); do \
- if test -s $$dist_file; then \
- inst_file=`echo $$dist_file | sed s,^html,docs,`; \
- rm -f $(DESTDIR)$(localdatadir)/www/$$inst_file; \
- fi \
- done
-
-DISTCLEANFILES = \
- info.stamp \
- pdf.stamp \
- html.stamp
-
-distclean-local:
- rm -fr doctrees
- rm -fr html
- rm -fr latex
- rm -fr texinfo
-
-# We handle exit code manually. Please fix if there is a better way.
-distcheck-hook:
- if test ! -s $(info_file_dist); then \
- $(top_srcdir)/build-aux/dist-error $(info_file_dist); \
- fi
- if test ! -s $(pdf_file_dist); then \
- $(top_srcdir)/build-aux/dist-error $(pdf_file_dist); \
- fi
- exit_code=0; \
- for file in $(html_files); do \
- if test ! -s $$file; then \
- exit_code=1; \
- $(top_srcdir)/build-aux/dist-error $$file || break; \
- fi \
- done; \
- exit $$exit_code;