Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 173 lines (144 sloc) 4.178 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 \
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
46 build-aux/sphinx-build \
47 build-aux/sphinx-touch \
df02faf @nslater initial round of documentation changes
nslater authored
48 license.skip
544a38d @cmlenz Imported trunk.
cmlenz authored
49
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
50 AUTHORS.gz: AUTHORS
51 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
52
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
53 BUGS.gz: BUGS
54 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
55
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
56 CHANGES.gz: CHANGES
57 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
58
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
59 DEVELOPERS.gz: DEVELOPERS
60 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
61
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
62 INSTALL.gz: INSTALL
63 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
64
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
65 INSTALL.Unix.gz: INSTALL.Unix
66 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
67
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
68 INSTALL.Windows.gz: INSTALL.Windows
69 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
70
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
71 LICENSE.gz: LICENSE
72 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
73
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
74 NEWS.gz: NEWS
75 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
76
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
77 NOTICE.gz: NOTICE
78 gzip -9 < $< > $@
df02faf @nslater initial round of documentation changes
nslater authored
79
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
80 README.gz: README
81 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
82
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
83 THANKS.gz: THANKS
84 gzip -9 < $< > $@
544a38d @cmlenz Imported trunk.
cmlenz authored
85
4d8a866 @janl Break out JavaScript test suite into separate make target `check-js`.
janl authored
86 check: dev check-js
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
87 if TESTS
dbeea8f @davisp Remove the old view engine.
davisp authored
88 $(top_builddir)/test/etap/run $(top_srcdir)/test/etap
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
89 endif
4d8a866 @janl Break out JavaScript test suite into separate make target `check-js`.
janl authored
90
91 check-js: dev
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
92 if TESTS
bf7c74e @tilgovi COUCHDB-1042 - restore libcurl as soft dependency
tilgovi authored
93 if USE_CURL
9bdc5cc @janl Fix `make check-js` for non-`make` builds.
janl authored
94 MAKE=$(MAKE) $(top_builddir)/test/javascript/run
bf7c74e @tilgovi COUCHDB-1042 - restore libcurl as soft dependency
tilgovi authored
95 endif
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
96 endif
519ba57 @davisp Adding Erlang unit tests.
davisp authored
97
eb3d5d8 Update etap and remove obsolete files
bitdiddle authored
98 check-etap: dev
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
99 if TESTS
eb3d5d8 Update etap and remove obsolete files
bitdiddle authored
100 $(top_builddir)/test/etap/run $(top_srcdir)/test/etap
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
101 endif
eb3d5d8 Update etap and remove obsolete files
bitdiddle authored
102
8a19831 @davisp Lots of tests for couch_config.erl
davisp authored
103 cover: dev
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
104 if TESTS
9e9230c @davisp Added code coverage report generation target.
davisp authored
105 rm -f cover/*.coverdata
49c4173 @davisp Forgot to fix make cover
davisp authored
106 COVER=1 COVER_BIN=./src/couchdb/ $(top_builddir)/test/etap/run
9e9230c @davisp Added code coverage report generation target.
davisp authored
107 SRC=./src/couchdb/ \
e5813d5 @davisp Add ETap to CouchDB's SVN repository.
davisp authored
108 $(ERL) -noshell \
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
109 -pa src/etap \
110 -eval 'etap_report:create()' \
641d900 @davisp Remove a redundant -noshell from the make cover target.
davisp authored
111 -s init stop > /dev/null 2>&1
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
112 endif
9e9230c @davisp Added code coverage report generation target.
davisp authored
113
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored
114 dev: all
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
115 if TESTS
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored
116 @echo "This command is intended for developers to use;"
117 @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
118 @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
119 @echo "Use ./utils/run to launch CouchDB from the source tree."
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored
120 mkdir -p $(top_builddir)/etc/couchdb/default.d
121 mkdir -p $(top_builddir)/etc/couchdb/local.d
a6ef08d @davisp Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) inst…
davisp authored
122 mkdir -p $(top_builddir)/tmp/lib
123 mkdir -p $(top_builddir)/tmp/log
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored
124 mkdir -p $(top_builddir)/tmp/run/couchdb
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
125 endif
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored
126
df02faf @nslater initial round of documentation changes
nslater authored
127 install-data-hook:
128 @echo
129 @echo "You have installed Apache CouchDB, time to relax."
130
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
131 distclean-local:
596206b @nslater properly clean up source directories after dev target
nslater authored
132 rm -fr $(top_builddir)/etc/couchdb/default.d
133 rm -fr $(top_builddir)/etc/couchdb/local.d
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
134 rm -fr $(top_builddir)/tmp
5be3eb3 @fdmanana Use absolutes path in distclean-local make target
fdmanana authored
135 rm -f $(top_builddir)/couchdb.stdout
136 rm -f $(top_builddir)/couchdb.stderr
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
137
abbbf5d @nslater added distsign target
nslater authored
138 .PHONY: local-clean
544a38d @cmlenz Imported trunk.
cmlenz authored
139 local-clean: maintainer-clean
140 @echo "This command is intended for maintainers to use;"
141 @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
142 rm -f $(top_srcdir)/INSTALL
143 rm -f $(top_srcdir)/acinclude.m4
144 rm -f $(top_srcdir)/aclocal.m4
145 rm -f $(top_srcdir)/config.h.in
146 rm -f $(top_srcdir)/configure
00964d0 @davisp Port Noah's bugfixes to trunk.
davisp authored
147 rm -f $(top_srcdir)/test/etap/temp.*
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored
148 rm -f $(top_srcdir)/*.tar.gz
149 rm -f $(top_srcdir)/*.tar.gz.*
64d82c8 @nslater improved find invokation for portability
nslater authored
150 find $(top_srcdir) -name Makefile.in -exec rm -f {} \;
abbbf5d @nslater added distsign target
nslater authored
151
c4a1667 @nslater forward porting r926694
nslater authored
152 dist-hook:
64d82c8 @nslater improved find invokation for portability
nslater authored
153 find $(top_srcdir) -type f -name "._*" -exec rm -f {} \;
154 find $(top_builddir) -type f -name "._*" -exec rm -f {} \;
c4a1667 @nslater forward porting r926694
nslater authored
155
69d1f1d @nslater added licence check, and licence.skip
nslater authored
156 distcheck-hook:
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
157 $(MAKE) -C bin distcheck-hook
158 $(MAKE) -C src/couchdb/priv distcheck-hook
159 $(MAKE) -C share/doc/build distcheck-hook
69d1f1d @nslater added licence check, and licence.skip
nslater authored
160 grep -rL 'http://www.apache.org/licenses/LICENSE-2.0' * \
719d2b6 @nslater Integrate Sphinx into autotools
nslater authored
161 | grep --include= -vEf license.skip; \
69d1f1d @nslater added licence check, and licence.skip
nslater authored
162 test "$$?" -eq 1
163
abbbf5d @nslater added distsign target
nslater authored
164 .PHONY: distsign
8bcfbdb @nslater added make check to distsign dep
nslater authored
165 distsign: distcheck check
6dba2e9 @nslater replaced --default-key with GPG_ARGS env variable
nslater authored
166 gpg --armor --detach-sig $(GPG_ARGS) \
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored
167 < $(top_srcdir)/$(distdir).tar.gz \
168 > $(top_srcdir)/$(distdir).tar.gz.asc
169 md5sum $(top_srcdir)/$(distdir).tar.gz \
170 > $(top_srcdir)/$(distdir).tar.gz.md5
171 sha1sum $(top_srcdir)/$(distdir).tar.gz \
172 > $(top_srcdir)/$(distdir).tar.gz.sha
Something went wrong with that request. Please try again.