Skip to content

HTTPS clone URL

Subversion checkout URL

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