Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 151 lines (124 sloc) 4.015 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
81 THANKS.gz: $(top_srcdir)/THANKS
82 -gzip -9 < $< > $@
83
8a19831 @davisp Lots of tests for couch_config.erl
davisp authored
84 check: dev
dbeea8f @davisp Remove the old view engine.
davisp authored
85 $(top_builddir)/test/etap/run $(top_srcdir)/test/etap
31edafe @janl First fully working version of the JavaScript CLI tests.
janl authored
86 $(top_builddir)/test/javascript/run
519ba57 @davisp Adding Erlang unit tests.
davisp authored
87
8a19831 @davisp Lots of tests for couch_config.erl
davisp authored
88 cover: dev
9e9230c @davisp Added code coverage report generation target.
davisp authored
89 rm -f cover/*.coverdata
49c4173 @davisp Forgot to fix make cover
davisp authored
90 COVER=1 COVER_BIN=./src/couchdb/ $(top_builddir)/test/etap/run
9e9230c @davisp Added code coverage report generation target.
davisp authored
91 SRC=./src/couchdb/ \
e5813d5 @davisp Add ETap to CouchDB's SVN repository.
davisp authored
92 $(ERL) -noshell \
93 -pa src/etap \
94 -eval 'etap_report:create()' \
641d900 @davisp Remove a redundant -noshell from the make cover target.
davisp authored
95 -s init stop > /dev/null 2>&1
9e9230c @davisp Added code coverage report generation target.
davisp authored
96
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the sour...
janl authored
97 dev: all
98 @echo "This command is intended for developers to use;"
99 @echo "it creates development ini files as well as a"
a6ef08d @davisp Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) instead...
davisp authored
100 @echo "$(top_builddir)/tmp structure for development runtime files."
beedd68 @janl Add line about instructions on how to use `make dev`. Patch by Michael H...
janl authored
101 @echo "Use ./utils/run to launch CouchDB from the source tree."
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored
102 mkdir -p $(top_builddir)/etc/couchdb/default.d
103 mkdir -p $(top_builddir)/etc/couchdb/local.d
a6ef08d @davisp Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) instead...
davisp authored
104 mkdir -p $(top_builddir)/tmp/lib
105 mkdir -p $(top_builddir)/tmp/log
627b7d2 @davisp Setup JavaScript command line runner.
davisp authored
106 mkdir -p $(top_builddir)/tmp/run/couchdb
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the sour...
janl authored
107
df02faf @nslater initial round of documentation changes
nslater authored
108 install-data-hook:
109 @echo
110 @echo "You have installed Apache CouchDB, time to relax."
111
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
112 distclean-local:
596206b @nslater properly clean up source directories after dev target
nslater authored
113 rm -fr $(top_builddir)/etc/couchdb/default.d
114 rm -fr $(top_builddir)/etc/couchdb/local.d
e29a192 @davisp Fixes 'make distcheck' to run the test suite.
davisp authored
115 rm -fr $(top_builddir)/tmp
116
abbbf5d @nslater added distsign target
nslater authored
117 .PHONY: local-clean
544a38d @cmlenz Imported trunk.
cmlenz authored
118 local-clean: maintainer-clean
119 @echo "This command is intended for maintainers to use;"
120 @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
121 rm -f $(top_srcdir)/INSTALL
122 rm -f $(top_srcdir)/acinclude.m4
123 rm -f $(top_srcdir)/aclocal.m4
124 rm -f $(top_srcdir)/config.h.in
125 rm -f $(top_srcdir)/configure
00964d0 @davisp Port Noah's bugfixes to trunk.
davisp authored
126 rm -f $(top_srcdir)/test/etap/temp.*
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored
127 rm -f $(top_srcdir)/*.tar.gz
128 rm -f $(top_srcdir)/*.tar.gz.*
64d82c8 @nslater improved find invokation for portability
nslater authored
129 find $(top_srcdir) -name Makefile.in -exec rm -f {} \;
abbbf5d @nslater added distsign target
nslater authored
130
c4a1667 @nslater forward porting r926694
nslater authored
131 dist-hook:
64d82c8 @nslater improved find invokation for portability
nslater authored
132 find $(top_srcdir) -type f -name "._*" -exec rm -f {} \;
133 find $(top_builddir) -type f -name "._*" -exec rm -f {} \;
c4a1667 @nslater forward porting r926694
nslater authored
134
69d1f1d @nslater added licence check, and licence.skip
nslater authored
135 distcheck-hook:
136 grep -rL 'http://www.apache.org/licenses/LICENSE-2.0' * \
9559bf4 @nslater build fails, note to self
nslater authored
137 | grep -vEf license.skip; \
69d1f1d @nslater added licence check, and licence.skip
nslater authored
138 test "$$?" -eq 1
139
abbbf5d @nslater added distsign target
nslater authored
140 .PHONY: distsign
8bcfbdb @nslater added make check to distsign dep
nslater authored
141 distsign: distcheck check
9559bf4 @nslater build fails, note to self
nslater authored
142 @# @@ unpack archive and run diff -r to double check missing files
143 @# @@ does automake have anything that does this?
14aa1c1 @nslater force it to sign with my key
nslater authored
144 gpg --armor --detach-sig --default-key 8FBFCFBF \
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored
145 < $(top_srcdir)/$(distdir).tar.gz \
146 > $(top_srcdir)/$(distdir).tar.gz.asc
147 md5sum $(top_srcdir)/$(distdir).tar.gz \
148 > $(top_srcdir)/$(distdir).tar.gz.md5
149 sha1sum $(top_srcdir)/$(distdir).tar.gz \
150 > $(top_srcdir)/$(distdir).tar.gz.sha
Something went wrong with that request. Please try again.