Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 169 lines (140 sloc) 4.568 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 \
46 license.skip
544a38d @cmlenz Imported trunk.
cmlenz authored
47
48 AUTHORS.gz: $(top_srcdir)/AUTHORS
49 -gzip -9 < $< > $@
50
51 BUGS.gz: $(top_srcdir)/BUGS
52 -gzip -9 < $< > $@
53
f3303f2 @nslater documentation improvements
nslater authored
54 CHANGES.gz: $(top_srcdir)/CHANGES
df02faf @nslater initial round of documentation changes
nslater authored
55 -gzip -9 < $< > $@
56
f3303f2 @nslater documentation improvements
nslater authored
57 DEVELOPERS.gz: $(top_srcdir)/DEVELOPERS
544a38d @cmlenz Imported trunk.
cmlenz authored
58 -gzip -9 < $< > $@
59
df02faf @nslater initial round of documentation changes
nslater authored
60 INSTALL.gz: $(top_srcdir)/INSTALL
61 -gzip -9 < $< > $@
62
63 INSTALL.Unix.gz: $(top_srcdir)/INSTALL.Unix
64 -gzip -9 < $< > $@
65
66 INSTALL.Windows.gz: $(top_srcdir)/INSTALL.Windows
67 -gzip -9 < $< > $@
68
69 LICENSE.gz: $(top_srcdir)/LICENSE
70 -gzip -9 < $< > $@
71
544a38d @cmlenz Imported trunk.
cmlenz authored
72 NEWS.gz: $(top_srcdir)/NEWS
73 -gzip -9 < $< > $@
74
df02faf @nslater initial round of documentation changes
nslater authored
75 NOTICE.gz: $(top_srcdir)/NOTICE
76 -gzip -9 < $< > $@
77
544a38d @cmlenz Imported trunk.
cmlenz authored
78 README.gz: $(top_srcdir)/README
79 -gzip -9 < $< > $@
80
07a3406 @davisp Force build of THANKS.gz every time
davisp authored
81 .PHONY: THANKS.gz
544a38d @cmlenz Imported trunk.
cmlenz authored
82 THANKS.gz: $(top_srcdir)/THANKS
6a631fc @davisp Cleanup silly variable name
davisp authored
83 @sed -e '/^#.*/d' $< > $(top_builddir)/THANKS.tmp
e64c050 @davisp Fixup automatic THANKS generation
davisp authored
84 @git shortlog -se 6c976bd..HEAD \
85 | grep -v @apache.org \
86 | sed -E 's/^[[:blank:]]{5}[[:digit:]]+[[:blank:]]/ * /' \
6a631fc @davisp Cleanup silly variable name
davisp authored
87 >> $(top_builddir)/THANKS.tmp
e64c050 @davisp Fixup automatic THANKS generation
davisp authored
88 @echo '\nFor a list of authors see the `AUTHORS` file.\n' \
6a631fc @davisp Cleanup silly variable name
davisp authored
89 >> $(top_builddir)/THANKS.tmp
90 -gzip -9 < $(top_builddir)/THANKS.tmp > $@
91 @rm $(top_builddir)/THANKS.tmp
544a38d @cmlenz Imported trunk.
cmlenz authored
92
4d8a866 @janl Break out JavaScript test suite into separate make target `check-js`.
janl authored
93 check: dev check-js
dbeea8f @davisp Remove the old view engine.
davisp authored
94 $(top_builddir)/test/etap/run $(top_srcdir)/test/etap
4d8a866 @janl Break out JavaScript test suite into separate make target `check-js`.
janl authored
95
96 check-js: dev
bf7c74e @tilgovi COUCHDB-1042 - restore libcurl as soft dependency
tilgovi authored
97 if USE_CURL
31edafe @janl First fully working version of the JavaScript CLI tests.
janl authored
98 $(top_builddir)/test/javascript/run
bf7c74e @tilgovi COUCHDB-1042 - restore libcurl as soft dependency
tilgovi authored
99 endif
519ba57 @davisp Adding Erlang unit tests.
davisp authored
100
eb3d5d8 Update etap and remove obsolete files
bitdiddle authored
101 check-etap: dev
102 $(top_builddir)/test/etap/run $(top_srcdir)/test/etap
103
8a19831 @davisp Lots of tests for couch_config.erl
davisp authored
104 cover: dev
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 \
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
9e9230c @davisp Added code coverage report generation target.
davisp authored
112
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored
113 dev: all
114 @echo "This command is intended for developers to use;"
115 @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
116 @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
117 @echo "Use ./utils/run to launch CouchDB from the source tree."
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored
118 mkdir -p $(top_builddir)/etc/couchdb/default.d
119 mkdir -p $(top_builddir)/etc/couchdb/local.d
a6ef08d @davisp Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) inst…
davisp authored
120 mkdir -p $(top_builddir)/tmp/lib
121 mkdir -p $(top_builddir)/tmp/log
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored
122 mkdir -p $(top_builddir)/tmp/run/couchdb
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored
123
df02faf @nslater initial round of documentation changes
nslater authored
124 install-data-hook:
125 @echo
126 @echo "You have installed Apache CouchDB, time to relax."
127
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
128 distclean-local:
596206b @nslater properly clean up source directories after dev target
nslater authored
129 rm -fr $(top_builddir)/etc/couchdb/default.d
130 rm -fr $(top_builddir)/etc/couchdb/local.d
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
131 rm -fr $(top_builddir)/tmp
5be3eb3 @fdmanana Use absolutes path in distclean-local make target
fdmanana authored
132 rm -f $(top_builddir)/couchdb.stdout
133 rm -f $(top_builddir)/couchdb.stderr
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
134
abbbf5d @nslater added distsign target
nslater authored
135 .PHONY: local-clean
544a38d @cmlenz Imported trunk.
cmlenz authored
136 local-clean: maintainer-clean
137 @echo "This command is intended for maintainers to use;"
138 @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
139 rm -f $(top_srcdir)/INSTALL
140 rm -f $(top_srcdir)/acinclude.m4
141 rm -f $(top_srcdir)/aclocal.m4
142 rm -f $(top_srcdir)/config.h.in
143 rm -f $(top_srcdir)/configure
00964d0 @davisp Port Noah's bugfixes to trunk.
davisp authored
144 rm -f $(top_srcdir)/test/etap/temp.*
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored
145 rm -f $(top_srcdir)/*.tar.gz
146 rm -f $(top_srcdir)/*.tar.gz.*
64d82c8 @nslater improved find invokation for portability
nslater authored
147 find $(top_srcdir) -name Makefile.in -exec rm -f {} \;
abbbf5d @nslater added distsign target
nslater authored
148
c4a1667 @nslater forward porting r926694
nslater authored
149 dist-hook:
64d82c8 @nslater improved find invokation for portability
nslater authored
150 find $(top_srcdir) -type f -name "._*" -exec rm -f {} \;
151 find $(top_builddir) -type f -name "._*" -exec rm -f {} \;
c4a1667 @nslater forward porting r926694
nslater authored
152
69d1f1d @nslater added licence check, and licence.skip
nslater authored
153 distcheck-hook:
154 grep -rL 'http://www.apache.org/licenses/LICENSE-2.0' * \
9559bf4 @nslater build fails, note to self
nslater authored
155 | grep -vEf license.skip; \
69d1f1d @nslater added licence check, and licence.skip
nslater authored
156 test "$$?" -eq 1
157
abbbf5d @nslater added distsign target
nslater authored
158 .PHONY: distsign
8bcfbdb @nslater added make check to distsign dep
nslater authored
159 distsign: distcheck check
9559bf4 @nslater build fails, note to self
nslater authored
160 @# @@ unpack archive and run diff -r to double check missing files
161 @# @@ does automake have anything that does this?
6dba2e9 @nslater replaced --default-key with GPG_ARGS env variable
nslater authored
162 gpg --armor --detach-sig $(GPG_ARGS) \
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored
163 < $(top_srcdir)/$(distdir).tar.gz \
164 > $(top_srcdir)/$(distdir).tar.gz.asc
165 md5sum $(top_srcdir)/$(distdir).tar.gz \
166 > $(top_srcdir)/$(distdir).tar.gz.md5
167 sha1sum $(top_srcdir)/$(distdir).tar.gz \
168 > $(top_srcdir)/$(distdir).tar.gz.sha
Something went wrong with that request. Please try again.