Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 164 lines (136 sloc) 3.856 kb
544a38d @cmlenz Imported trunk.
cmlenz authored
1 ## Licensed under the Apache License, Version 2.0 (the "License"); you may not
350811a @nslater wheeeeeeee
nslater authored
2 ## use this file except in compliance with the License. You may obtain a copy of
3 ## the License at
544a38d @cmlenz Imported trunk.
cmlenz authored
4 ##
5 ## http://www.apache.org/licenses/LICENSE-2.0
6 ##
7 ## Unless required by applicable law or agreed to in writing, software
8 ## distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
350811a @nslater wheeeeeeee
nslater authored
9 ## WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10 ## License for the specific language governing permissions and limitations under
11 ## the License.
544a38d @cmlenz Imported trunk.
cmlenz authored
12
00964d0 @davisp Port Noah's bugfixes to trunk.
davisp authored
13 SUBDIRS = bin etc src share test var utils
544a38d @cmlenz Imported trunk.
cmlenz authored
14
9807cda @janl If aclocal needs to be called during a build, its options are taken
janl authored
15 ACLOCAL_AMFLAGS = -I m4
16
df02faf @nslater initial round of documentation changes
nslater authored
17 localdoc_DATA = \
18 AUTHORS.gz \
19 BUGS.gz \
20 CHANGES.gz \
f3303f2 @nslater documentation improvements
nslater authored
21 DEVELOPERS.gz \
df02faf @nslater initial round of documentation changes
nslater authored
22 INSTALL.gz \
23 INSTALL.Unix.gz \
24 INSTALL.Windows.gz \
25 LICENSE.gz \
26 NEWS.gz \
27 NOTICE.gz \
28 README.gz \
29 THANKS.gz
544a38d @cmlenz Imported trunk.
cmlenz authored
30
762dc6b @nslater renamed directory variables, stage two
nslater authored
31 DISTCLEANFILES = $(localdoc_DATA)
544a38d @cmlenz Imported trunk.
cmlenz authored
32
df02faf @nslater initial round of documentation changes
nslater authored
33 EXTRA_DIST = \
34 AUTHORS \
35 BUGS \
36 CHANGES \
f3303f2 @nslater documentation improvements
nslater authored
37 DEVELOPERS \
3eb752a @nslater restore INSTALL file to dist
nslater authored
38 INSTALL \
df02faf @nslater initial round of documentation changes
nslater authored
39 INSTALL.Unix \
40 INSTALL.Windows \
41 LICENSE \
42 NEWS \
43 NOTICE \
44 README \
45 THANKS \
3d171e7 @nslater fixed build
nslater authored
46 build-aux/dist-error \
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
47 build-aux/sphinx-build \
48 build-aux/sphinx-touch \
df02faf @nslater initial round of documentation changes
nslater authored
49 license.skip
544a38d @cmlenz Imported trunk.
cmlenz authored
50
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
51 AUTHORS.gz: AUTHORS
52 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
53
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
54 BUGS.gz: BUGS
55 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
56
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
57 CHANGES.gz: CHANGES
58 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
59
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
60 DEVELOPERS.gz: DEVELOPERS
61 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
62
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
63 INSTALL.gz: INSTALL
64 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
65
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
66 INSTALL.Unix.gz: INSTALL.Unix
67 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
68
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
69 INSTALL.Windows.gz: INSTALL.Windows
70 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
71
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
72 LICENSE.gz: LICENSE
73 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
74
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
75 NEWS.gz: NEWS
76 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
77
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
78 NOTICE.gz: NOTICE
79 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
80
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
81 README.gz: README
82 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
83
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
84 THANKS.gz: THANKS
85 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
86
4d8a866 @janl Break out JavaScript test suite into separate make target `check-js`.
janl authored
87 check: dev check-js
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
88 if TESTS
dbeea8f @davisp Remove the old view engine.
davisp authored
89 $(top_builddir)/test/etap/run $(top_srcdir)/test/etap
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
90 endif
4d8a866 @janl Break out JavaScript test suite into separate make target `check-js`.
janl authored
91
92 check-js: dev
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
93 if TESTS
bf7c74e @tilgovi COUCHDB-1042 - restore libcurl as soft dependency
tilgovi authored
94 if USE_CURL
9bdc5cc @janl Fix `make check-js` for non-`make` builds.
janl authored
95 MAKE=$(MAKE) $(top_builddir)/test/javascript/run
bf7c74e @tilgovi COUCHDB-1042 - restore libcurl as soft dependency
tilgovi authored
96 endif
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
97 endif
519ba57 @davisp Adding Erlang unit tests.
davisp authored
98
eb3d5d8 Update etap and remove obsolete files
bitdiddle authored
99 check-etap: dev
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
100 if TESTS
eb3d5d8 Update etap and remove obsolete files
bitdiddle authored
101 $(top_builddir)/test/etap/run $(top_srcdir)/test/etap
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
102 endif
eb3d5d8 Update etap and remove obsolete files
bitdiddle authored
103
8a19831 @davisp Lots of tests for couch_config.erl
davisp authored
104 cover: dev
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
105 if TESTS
9e9230c @davisp Added code coverage report generation target.
davisp authored
106 rm -f cover/*.coverdata
49c4173 @davisp Forgot to fix make cover
davisp authored
107 COVER=1 COVER_BIN=./src/couchdb/ $(top_builddir)/test/etap/run
9e9230c @davisp Added code coverage report generation target.
davisp authored
108 SRC=./src/couchdb/ \
e5813d5 @davisp Add ETap to CouchDB's SVN repository.
davisp authored
109 $(ERL) -noshell \
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
110 -pa src/etap \
111 -eval 'etap_report:create()' \
641d900 @davisp Remove a redundant -noshell from the make cover target.
davisp authored
112 -s init stop > /dev/null 2>&1
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
113 endif
9e9230c @davisp Added code coverage report generation target.
davisp authored
114
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored
115 dev: all
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
116 if TESTS
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored
117 @echo "This command is intended for developers to use;"
118 @echo "it creates development ini files as well as a"
a6ef08d @davisp Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) inst…
davisp authored
119 @echo "$(top_builddir)/tmp structure for development runtime files."
beedd68 @janl Add line about instructions on how to use `make dev`. Patch by Michae…
janl authored
120 @echo "Use ./utils/run to launch CouchDB from the source tree."
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored
121 mkdir -p $(top_builddir)/etc/couchdb/default.d
122 mkdir -p $(top_builddir)/etc/couchdb/local.d
a6ef08d @davisp Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) inst…
davisp authored
123 mkdir -p $(top_builddir)/tmp/lib
124 mkdir -p $(top_builddir)/tmp/log
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored
125 mkdir -p $(top_builddir)/tmp/run/couchdb
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
126 endif
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored
127
df02faf @nslater initial round of documentation changes
nslater authored
128 install-data-hook:
129 @echo
130 @echo "You have installed Apache CouchDB, time to relax."
131
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
132 distclean-local:
596206b @nslater properly clean up source directories after dev target
nslater authored
133 rm -fr $(top_builddir)/etc/couchdb/default.d
134 rm -fr $(top_builddir)/etc/couchdb/local.d
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
135 rm -fr $(top_builddir)/tmp
5be3eb3 @fdmanana Use absolutes path in distclean-local make target
fdmanana authored
136 rm -f $(top_builddir)/couchdb.stdout
137 rm -f $(top_builddir)/couchdb.stderr
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
138
abbbf5d @nslater added distsign target
nslater authored
139 .PHONY: local-clean
544a38d @cmlenz Imported trunk.
cmlenz authored
140 local-clean: maintainer-clean
141 @echo "This command is intended for maintainers to use;"
142 @echo "it deletes files that may need special tools to rebuild."
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored
143 rm -f $(top_srcdir)/INSTALL
144 rm -f $(top_srcdir)/acinclude.m4
145 rm -f $(top_srcdir)/aclocal.m4
146 rm -f $(top_srcdir)/config.h.in
147 rm -f $(top_srcdir)/configure
00964d0 @davisp Port Noah's bugfixes to trunk.
davisp authored
148 rm -f $(top_srcdir)/test/etap/temp.*
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored
149 rm -f $(top_srcdir)/*.tar.gz
150 rm -f $(top_srcdir)/*.tar.gz.*
64d82c8 @nslater improved find invokation for portability
nslater authored
151 find $(top_srcdir) -name Makefile.in -exec rm -f {} \;
abbbf5d @nslater added distsign target
nslater authored
152
c4a1667 @nslater forward porting r926694
nslater authored
153 dist-hook:
64d82c8 @nslater improved find invokation for portability
nslater authored
154 find $(top_srcdir) -type f -name "._*" -exec rm -f {} \;
155 find $(top_builddir) -type f -name "._*" -exec rm -f {} \;
c4a1667 @nslater forward porting r926694
nslater authored
156
69d1f1d @nslater added licence check, and licence.skip
nslater authored
157 distcheck-hook:
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
158 $(MAKE) -C bin distcheck-hook
159 $(MAKE) -C src/couchdb/priv distcheck-hook
160 $(MAKE) -C share/doc/build distcheck-hook
69d1f1d @nslater added licence check, and licence.skip
nslater authored
161 grep -rL 'http://www.apache.org/licenses/LICENSE-2.0' * \
c0e7716 @nslater Switch to proper SemVer for builds, add acinclude checks, and remove …
nslater authored
162 | grep --include= -vEf license.skip; \
163 test "$$?" -eq 1
Something went wrong with that request. Please try again.