Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 160 lines (131 sloc) 4.196 kb
544a38d Christopher Lenz Imported trunk.
cmlenz authored
1 ## Licensed under the Apache License, Version 2.0 (the "License"); you may not
350811a Noah Slater wheeeeeeee
nslater authored
2 ## use this file except in compliance with the License. You may obtain a copy of
3 ## the License at
544a38d Christopher Lenz 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 Noah Slater 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 Christopher Lenz Imported trunk.
cmlenz authored
12
00964d0 Paul J. Davis Port Noah's bugfixes to trunk.
davisp authored
13 SUBDIRS = bin etc src share test var utils
544a38d Christopher Lenz Imported trunk.
cmlenz authored
14
9807cda Jan Lehnardt If aclocal needs to be called during a build, its options are taken
janl authored
15 ACLOCAL_AMFLAGS = -I m4
16
df02faf Noah Slater initial round of documentation changes
nslater authored
17 localdoc_DATA = \
18 AUTHORS.gz \
19 BUGS.gz \
20 CHANGES.gz \
f3303f2 Noah Slater documentation improvements
nslater authored
21 DEVELOPERS.gz \
df02faf Noah Slater 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 Christopher Lenz Imported trunk.
cmlenz authored
30
762dc6b Noah Slater renamed directory variables, stage two
nslater authored
31 DISTCLEANFILES = $(localdoc_DATA)
544a38d Christopher Lenz Imported trunk.
cmlenz authored
32
df02faf Noah Slater initial round of documentation changes
nslater authored
33 EXTRA_DIST = \
34 AUTHORS \
35 BUGS \
36 CHANGES \
f3303f2 Noah Slater documentation improvements
nslater authored
37 DEVELOPERS \
3eb752a Noah Slater restore INSTALL file to dist
nslater authored
38 INSTALL \
df02faf Noah Slater 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 Christopher Lenz 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 Noah Slater documentation improvements
nslater authored
54 CHANGES.gz: $(top_srcdir)/CHANGES
df02faf Noah Slater initial round of documentation changes
nslater authored
55 -gzip -9 < $< > $@
56
f3303f2 Noah Slater documentation improvements
nslater authored
57 DEVELOPERS.gz: $(top_srcdir)/DEVELOPERS
544a38d Christopher Lenz Imported trunk.
cmlenz authored
58 -gzip -9 < $< > $@
59
df02faf Noah Slater 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 Christopher Lenz Imported trunk.
cmlenz authored
72 NEWS.gz: $(top_srcdir)/NEWS
73 -gzip -9 < $< > $@
74
df02faf Noah Slater initial round of documentation changes
nslater authored
75 NOTICE.gz: $(top_srcdir)/NOTICE
76 -gzip -9 < $< > $@
77
544a38d Christopher Lenz Imported trunk.
cmlenz authored
78 README.gz: $(top_srcdir)/README
79 -gzip -9 < $< > $@
80
81 THANKS.gz: $(top_srcdir)/THANKS
82 -gzip -9 < $< > $@
83
4d8a866 Jan Lehnardt Break out JavaScript test suite into separate make target `check-js`.
janl authored
84 check: dev check-js
dbeea8f Paul J. Davis Remove the old view engine.
davisp authored
85 $(top_builddir)/test/etap/run $(top_srcdir)/test/etap
4d8a866 Jan Lehnardt Break out JavaScript test suite into separate make target `check-js`.
janl authored
86
87 check-js: dev
bf7c74e Randall Leeds COUCHDB-1042 - restore libcurl as soft dependency
tilgovi authored
88 if USE_CURL
31edafe Jan Lehnardt First fully working version of the JavaScript CLI tests.
janl authored
89 $(top_builddir)/test/javascript/run
bf7c74e Randall Leeds COUCHDB-1042 - restore libcurl as soft dependency
tilgovi authored
90 endif
519ba57 Paul J. Davis Adding Erlang unit tests.
davisp authored
91
eb3d5d8 Update etap and remove obsolete files
bitdiddle authored
92 check-etap: dev
93 $(top_builddir)/test/etap/run $(top_srcdir)/test/etap
94
8a19831 Paul J. Davis Lots of tests for couch_config.erl
davisp authored
95 cover: dev
9e9230c Paul J. Davis Added code coverage report generation target.
davisp authored
96 rm -f cover/*.coverdata
49c4173 Paul J. Davis Forgot to fix make cover
davisp authored
97 COVER=1 COVER_BIN=./src/couchdb/ $(top_builddir)/test/etap/run
9e9230c Paul J. Davis Added code coverage report generation target.
davisp authored
98 SRC=./src/couchdb/ \
e5813d5 Paul J. Davis Add ETap to CouchDB's SVN repository.
davisp authored
99 $(ERL) -noshell \
100 -pa src/etap \
101 -eval 'etap_report:create()' \
641d900 Paul J. Davis Remove a redundant -noshell from the make cover target.
davisp authored
102 -s init stop > /dev/null 2>&1
9e9230c Paul J. Davis Added code coverage report generation target.
davisp authored
103
efe07f9 Jan Lehnardt Add `make dev` target. Use `./utils/run` to launch CouchDB from the sour...
janl authored
104 dev: all
105 @echo "This command is intended for developers to use;"
106 @echo "it creates development ini files as well as a"
a6ef08d Paul J. Davis Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) instead...
davisp authored
107 @echo "$(top_builddir)/tmp structure for development runtime files."
beedd68 Jan Lehnardt Add line about instructions on how to use `make dev`. Patch by Michael H...
janl authored
108 @echo "Use ./utils/run to launch CouchDB from the source tree."
627b7d2 Paul J. Davis Setup JavaScript command line runner.
davisp authored
109 mkdir -p $(top_builddir)/etc/couchdb/default.d
110 mkdir -p $(top_builddir)/etc/couchdb/local.d
a6ef08d Paul J. Davis Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) instead...
davisp authored
111 mkdir -p $(top_builddir)/tmp/lib
112 mkdir -p $(top_builddir)/tmp/log
627b7d2 Paul J. Davis Setup JavaScript command line runner.
davisp authored
113 mkdir -p $(top_builddir)/tmp/run/couchdb
efe07f9 Jan Lehnardt Add `make dev` target. Use `./utils/run` to launch CouchDB from the sour...
janl authored
114
df02faf Noah Slater initial round of documentation changes
nslater authored
115 install-data-hook:
116 @echo
117 @echo "You have installed Apache CouchDB, time to relax."
118
e29a192 Paul J. Davis Fixes 'make distcheck' to run the test suite.
davisp authored
119 distclean-local:
596206b Noah Slater properly clean up source directories after dev target
nslater authored
120 rm -fr $(top_builddir)/etc/couchdb/default.d
121 rm -fr $(top_builddir)/etc/couchdb/local.d
e29a192 Paul J. Davis Fixes 'make distcheck' to run the test suite.
davisp authored
122 rm -fr $(top_builddir)/tmp
5be3eb3 Filipe Manana Use absolutes path in distclean-local make target
fdmanana authored
123 rm -f $(top_builddir)/couchdb.stdout
124 rm -f $(top_builddir)/couchdb.stderr
e29a192 Paul J. Davis Fixes 'make distcheck' to run the test suite.
davisp authored
125
abbbf5d Noah Slater added distsign target
nslater authored
126 .PHONY: local-clean
544a38d Christopher Lenz Imported trunk.
cmlenz authored
127 local-clean: maintainer-clean
128 @echo "This command is intended for maintainers to use;"
129 @echo "it deletes files that may need special tools to rebuild."
2e7a88a Noah Slater updated top level Makefile.am in line with Automake feedback
nslater authored
130 rm -f $(top_srcdir)/INSTALL
131 rm -f $(top_srcdir)/acinclude.m4
132 rm -f $(top_srcdir)/aclocal.m4
133 rm -f $(top_srcdir)/config.h.in
134 rm -f $(top_srcdir)/configure
00964d0 Paul J. Davis Port Noah's bugfixes to trunk.
davisp authored
135 rm -f $(top_srcdir)/test/etap/temp.*
2e7a88a Noah Slater updated top level Makefile.am in line with Automake feedback
nslater authored
136 rm -f $(top_srcdir)/*.tar.gz
137 rm -f $(top_srcdir)/*.tar.gz.*
64d82c8 Noah Slater improved find invokation for portability
nslater authored
138 find $(top_srcdir) -name Makefile.in -exec rm -f {} \;
abbbf5d Noah Slater added distsign target
nslater authored
139
c4a1667 Noah Slater forward porting r926694
nslater authored
140 dist-hook:
64d82c8 Noah Slater improved find invokation for portability
nslater authored
141 find $(top_srcdir) -type f -name "._*" -exec rm -f {} \;
142 find $(top_builddir) -type f -name "._*" -exec rm -f {} \;
c4a1667 Noah Slater forward porting r926694
nslater authored
143
69d1f1d Noah Slater added licence check, and licence.skip
nslater authored
144 distcheck-hook:
145 grep -rL 'http://www.apache.org/licenses/LICENSE-2.0' * \
9559bf4 Noah Slater build fails, note to self
nslater authored
146 | grep -vEf license.skip; \
69d1f1d Noah Slater added licence check, and licence.skip
nslater authored
147 test "$$?" -eq 1
148
abbbf5d Noah Slater added distsign target
nslater authored
149 .PHONY: distsign
8bcfbdb Noah Slater added make check to distsign dep
nslater authored
150 distsign: distcheck check
9559bf4 Noah Slater build fails, note to self
nslater authored
151 @# @@ unpack archive and run diff -r to double check missing files
152 @# @@ does automake have anything that does this?
6dba2e9 Noah Slater replaced --default-key with GPG_ARGS env variable
nslater authored
153 gpg --armor --detach-sig $(GPG_ARGS) \
2e7a88a Noah Slater updated top level Makefile.am in line with Automake feedback
nslater authored
154 < $(top_srcdir)/$(distdir).tar.gz \
155 > $(top_srcdir)/$(distdir).tar.gz.asc
156 md5sum $(top_srcdir)/$(distdir).tar.gz \
157 > $(top_srcdir)/$(distdir).tar.gz.md5
158 sha1sum $(top_srcdir)/$(distdir).tar.gz \
159 > $(top_srcdir)/$(distdir).tar.gz.sha
Something went wrong with that request. Please try again.