Skip to content
Newer
Older
100644 90 lines (73 sloc) 2.75 KB
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
1 ## Licensed under the Apache License, Version 2.0 (the "License"); you may not
350811a @nslater wheeeeeeee
nslater authored Jul 14, 2009
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 Mar 28, 2008
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 Jul 14, 2009
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 Mar 28, 2008
12
e5813d5 @davisp Add ETap to CouchDB's SVN repository.
davisp authored Sep 29, 2009
13 SUBDIRS = bin etc src/couchdb src/erlang-oauth src/etap src/ibrowse src/mochiweb share test var utils
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
14
762dc6b @nslater renamed directory variables, stage two
nslater authored Jun 16, 2008
15 localdoc_DATA = AUTHORS.gz BUGS.gz CHANGES.gz NEWS.gz README.gz THANKS.gz
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
16
762dc6b @nslater renamed directory variables, stage two
nslater authored Jun 16, 2008
17 DISTCLEANFILES = $(localdoc_DATA)
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
18
5a8ba1a @nslater removed old no-portability flag to automake
nslater authored Jun 16, 2008
19 EXTRA_DIST = AUTHORS BUGS CHANGES LICENSE NEWS NOTICE README THANKS
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
20
21 AUTHORS.gz: $(top_srcdir)/AUTHORS
22 -gzip -9 < $< > $@
23
24 BUGS.gz: $(top_srcdir)/BUGS
25 -gzip -9 < $< > $@
26
88c8ac0 @cmlenz Added CHANGES to Makefile.
cmlenz authored Jun 6, 2008
27 CHANGES.gz: $(top_srcdir)/CHANGES
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
28 -gzip -9 < $< > $@
29
30 NEWS.gz: $(top_srcdir)/NEWS
31 -gzip -9 < $< > $@
32
33 README.gz: $(top_srcdir)/README
34 -gzip -9 < $< > $@
35
36 THANKS.gz: $(top_srcdir)/THANKS
37 -gzip -9 < $< > $@
38
8a19831 @davisp Lots of tests for couch_config.erl
davisp authored Jun 24, 2009
39 check: dev
2b44369 @davisp Fix the make check command to run tests in test/etap/
davisp authored May 30, 2009
40 prove test/etap/*.t
519ba57 @davisp Adding Erlang unit tests.
davisp authored May 30, 2009
41
8a19831 @davisp Lots of tests for couch_config.erl
davisp authored Jun 24, 2009
42 cover: dev
9e9230c @davisp Added code coverage report generation target.
davisp authored May 30, 2009
43 rm -f cover/*.coverdata
44 COVER=1 COVER_BIN=./src/couchdb/ prove test/etap/*.t
45 SRC=./src/couchdb/ \
e5813d5 @davisp Add ETap to CouchDB's SVN repository.
davisp authored Sep 29, 2009
46 $(ERL) -noshell \
47 -pa src/etap \
48 -eval 'etap_report:create()' \
641d900 @davisp Remove a redundant -noshell from the make cover target.
davisp authored Jun 11, 2009
49 -s init stop > /dev/null 2>&1
9e9230c @davisp Added code coverage report generation target.
davisp authored May 30, 2009
50
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored Oct 23, 2008
51 dev: all
52 @echo "This command is intended for developers to use;"
53 @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 Aug 18, 2009
54 @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 Nov 2, 2008
55 @echo "Use ./utils/run to launch CouchDB from the source tree."
a6ef08d @davisp Addresses Noah's remarks on COUCHDB-471 by using $(top_builddir) inst…
davisp authored Aug 18, 2009
56 mkdir -p $(top_builddir)/tmp/lib
57 mkdir -p $(top_builddir)/tmp/log
58 mkdir -p $(top_builddir)/tmp/run
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored Oct 23, 2008
59
abbbf5d @nslater added distsign target
nslater authored Aug 15, 2008
60 .PHONY: local-clean
544a38d @cmlenz Imported trunk.
cmlenz authored Mar 28, 2008
61 local-clean: maintainer-clean
62 @echo "This command is intended for maintainers to use;"
63 @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 Aug 18, 2008
64 rm -f $(top_srcdir)/INSTALL
65 rm -f $(top_srcdir)/acinclude.m4
66 rm -f $(top_srcdir)/aclocal.m4
67 rm -f $(top_srcdir)/config.h.in
68 rm -f $(top_srcdir)/configure
69 rm -f $(top_srcdir)/*.tar.gz
70 rm -f $(top_srcdir)/*.tar.gz.*
efe07f9 @janl Add `make dev` target. Use `./utils/run` to launch CouchDB from the s…
janl authored Oct 23, 2008
71 rm -fr $(top_srcdir)/tmp
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored Aug 18, 2008
72 find $(top_srcdir) -name Makefile.in -exec rm {} \;
abbbf5d @nslater added distsign target
nslater authored Aug 15, 2008
73
69d1f1d @nslater added licence check, and licence.skip
nslater authored Jul 14, 2009
74 distcheck-hook:
75 grep -rL 'http://www.apache.org/licenses/LICENSE-2.0' * \
9559bf4 @nslater build fails, note to self
nslater authored Jul 16, 2009
76 | grep -vEf license.skip; \
69d1f1d @nslater added licence check, and licence.skip
nslater authored Jul 14, 2009
77 test "$$?" -eq 1
78
abbbf5d @nslater added distsign target
nslater authored Aug 15, 2008
79 .PHONY: distsign
80 distsign: distcheck
9559bf4 @nslater build fails, note to self
nslater authored Jul 16, 2009
81 @# @@ unpack archive and run diff -r to double check missing files
82 @# @@ does automake have anything that does this?
2e7a88a @nslater updated top level Makefile.am in line with Automake feedback
nslater authored Aug 18, 2008
83 gpg --armor --detach-sig \
84 < $(top_srcdir)/$(distdir).tar.gz \
85 > $(top_srcdir)/$(distdir).tar.gz.asc
86 md5sum $(top_srcdir)/$(distdir).tar.gz \
87 > $(top_srcdir)/$(distdir).tar.gz.md5
88 sha1sum $(top_srcdir)/$(distdir).tar.gz \
89 > $(top_srcdir)/$(distdir).tar.gz.sha
Something went wrong with that request. Please try again.